Remove public modifier on JUnit5 lifecycle methods
See gh-17292
This commit is contained in:
@@ -39,7 +39,7 @@ class CommandLineIT {
|
||||
private CommandLineInvoker cli;
|
||||
|
||||
@BeforeEach
|
||||
public void setup(@TempDir File tempDir) {
|
||||
void setup(@TempDir File tempDir) {
|
||||
this.cli = new CommandLineInvoker(tempDir);
|
||||
}
|
||||
|
||||
|
||||
@@ -45,7 +45,7 @@ class JarCommandIT {
|
||||
private File tempDir;
|
||||
|
||||
@BeforeEach
|
||||
public void setup(@TempDir File tempDir) {
|
||||
void setup(@TempDir File tempDir) {
|
||||
this.cli = new CommandLineInvoker(new File("src/it/resources/jar-command"),
|
||||
tempDir);
|
||||
this.tempDir = tempDir;
|
||||
|
||||
@@ -42,7 +42,7 @@ class WarCommandIT {
|
||||
private File tempDir;
|
||||
|
||||
@BeforeEach
|
||||
public void setup(@TempDir File tempDir) {
|
||||
void setup(@TempDir File tempDir) {
|
||||
this.cli = new CommandLineInvoker(new File("src/it/resources/war-command"),
|
||||
tempDir);
|
||||
this.tempDir = tempDir;
|
||||
|
||||
Reference in New Issue
Block a user