See gh-22090
This commit is contained in:
Johnny Lim
2020-06-24 21:32:49 +09:00
committed by Madhura Bhave
parent 62f5e44324
commit 43aee1bddd
5 changed files with 5 additions and 5 deletions

View File

@@ -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();

View File

@@ -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();

View File

@@ -105,7 +105,7 @@ class AvailabilityChangeEventTests {
@Override
String getDescription() {
return "I have aslo been overridden";
return "I have also been overridden";
}
};