mirror of
https://github.com/spring-projects/spring-boot.git
synced 2026-10-02 15:29:05 +00:00
Remove unnecessary field initialization
Closes gh-45168 Co-authored-by: CatiaCorreia catia.correia97@gmail.com
This commit is contained in:
co-authored by
CatiaCorreia catia.correia97@gmail.com
parent
9b387cbe77
commit
9e656c1554
+2
-2
@@ -200,7 +200,7 @@ class RestarterTests {
|
||||
@EnableScheduling
|
||||
static class SampleApplication {
|
||||
|
||||
private int count = 0;
|
||||
private int count;
|
||||
|
||||
private static final AtomicBoolean restart = new AtomicBoolean();
|
||||
|
||||
@@ -228,7 +228,7 @@ class RestarterTests {
|
||||
|
||||
static class CloseCountingApplicationListener implements ApplicationListener<ContextClosedEvent> {
|
||||
|
||||
static int closed = 0;
|
||||
static int closed;
|
||||
|
||||
@Override
|
||||
public void onApplicationEvent(ContextClosedEvent event) {
|
||||
|
||||
Reference in New Issue
Block a user