Remove public modifier on JUnit5 lifecycle methods

See gh-17292
This commit is contained in:
Stephane Nicoll
2019-06-21 18:09:05 +02:00
parent c7d3b7a9f1
commit e560b7f6ba
310 changed files with 361 additions and 362 deletions

View File

@@ -38,12 +38,12 @@ class SampleSimpleApplicationTests {
private String profiles;
@BeforeEach
public void init() {
void init() {
this.profiles = System.getProperty("spring.profiles.active");
}
@AfterEach
public void after() {
void after() {
if (this.profiles != null) {
System.setProperty("spring.profiles.active", this.profiles);
}