Remove public modifier on JUnit5 lifecycle methods
See gh-17292
This commit is contained in:
@@ -43,7 +43,7 @@ class FileUtilsTests {
|
||||
private File originDirectory;
|
||||
|
||||
@BeforeEach
|
||||
public void init() throws IOException {
|
||||
void init() throws IOException {
|
||||
this.outputDirectory = new File(this.tempDir, "remove");
|
||||
this.originDirectory = new File(this.tempDir, "keep");
|
||||
this.outputDirectory.mkdirs();
|
||||
|
||||
@@ -45,7 +45,7 @@ class MainClassFinderTests {
|
||||
private TestJarFile testJarFile;
|
||||
|
||||
@BeforeEach
|
||||
public void setup(@TempDir File tempDir) throws IOException {
|
||||
void setup(@TempDir File tempDir) throws IOException {
|
||||
this.testJarFile = new TestJarFile(tempDir);
|
||||
}
|
||||
|
||||
|
||||
@@ -84,7 +84,7 @@ class RepackagerTests {
|
||||
private TestJarFile testJarFile;
|
||||
|
||||
@BeforeEach
|
||||
public void setup() throws IOException {
|
||||
void setup() throws IOException {
|
||||
this.testJarFile = new TestJarFile(this.tempDir);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user