Polish
See gh-22090
This commit is contained in:
committed by
Madhura Bhave
parent
62f5e44324
commit
43aee1bddd
@@ -136,7 +136,7 @@ public class ReactiveWebServerApplicationContext extends GenericReactiveWebAppli
|
||||
|
||||
@Override
|
||||
protected void doClose() {
|
||||
if (this.isActive()) {
|
||||
if (isActive()) {
|
||||
AvailabilityChangeEvent.publish(this, ReadinessState.REFUSING_TRAFFIC);
|
||||
}
|
||||
super.doClose();
|
||||
|
||||
@@ -164,7 +164,7 @@ public class ServletWebServerApplicationContext extends GenericWebApplicationCon
|
||||
|
||||
@Override
|
||||
protected void doClose() {
|
||||
if (this.isActive()) {
|
||||
if (isActive()) {
|
||||
AvailabilityChangeEvent.publish(this, ReadinessState.REFUSING_TRAFFIC);
|
||||
}
|
||||
super.doClose();
|
||||
|
||||
@@ -105,7 +105,7 @@ class AvailabilityChangeEventTests {
|
||||
|
||||
@Override
|
||||
String getDescription() {
|
||||
return "I have aslo been overridden";
|
||||
return "I have also been overridden";
|
||||
}
|
||||
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user