From 6ec3865ed065c5c2ff390e5b07116e117af19d31 Mon Sep 17 00:00:00 2001 From: Andy Wilkinson Date: Mon, 9 Mar 2020 18:41:27 +0000 Subject: [PATCH] Polish spelling of elapsed See gh-4657 --- .../boot/web/embedded/netty/NettyGracefulShutdown.java | 2 +- .../boot/web/embedded/tomcat/TomcatGracefulShutdown.java | 2 +- .../boot/web/embedded/undertow/UndertowGracefulShutdown.java | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/spring-boot-project/spring-boot/src/main/java/org/springframework/boot/web/embedded/netty/NettyGracefulShutdown.java b/spring-boot-project/spring-boot/src/main/java/org/springframework/boot/web/embedded/netty/NettyGracefulShutdown.java index 40c5182549..1b574ccf52 100644 --- a/spring-boot-project/spring-boot/src/main/java/org/springframework/boot/web/embedded/netty/NettyGracefulShutdown.java +++ b/spring-boot-project/spring-boot/src/main/java/org/springframework/boot/web/embedded/netty/NettyGracefulShutdown.java @@ -88,7 +88,7 @@ final class NettyGracefulShutdown implements GracefulShutdown { return true; } if (logger.isInfoEnabled()) { - logger.info("Grace period elaped with " + activeRequests + " request(s) still active"); + logger.info("Grace period elapsed with " + activeRequests + " request(s) still active"); } return false; } diff --git a/spring-boot-project/spring-boot/src/main/java/org/springframework/boot/web/embedded/tomcat/TomcatGracefulShutdown.java b/spring-boot-project/spring-boot/src/main/java/org/springframework/boot/web/embedded/tomcat/TomcatGracefulShutdown.java index 84e2288247..6f7341b7ec 100644 --- a/spring-boot-project/spring-boot/src/main/java/org/springframework/boot/web/embedded/tomcat/TomcatGracefulShutdown.java +++ b/spring-boot-project/spring-boot/src/main/java/org/springframework/boot/web/embedded/tomcat/TomcatGracefulShutdown.java @@ -69,7 +69,7 @@ class TomcatGracefulShutdown implements GracefulShutdown { for (Container context : host.findChildren()) { while (active(context)) { if (System.currentTimeMillis() > end) { - logger.info("Grace period elaped with one or more requests still active"); + logger.info("Grace period elapsed with one or more requests still active"); return false; } Thread.sleep(50); diff --git a/spring-boot-project/spring-boot/src/main/java/org/springframework/boot/web/embedded/undertow/UndertowGracefulShutdown.java b/spring-boot-project/spring-boot/src/main/java/org/springframework/boot/web/embedded/undertow/UndertowGracefulShutdown.java index 7e4b2f20b6..dc2753a61c 100644 --- a/spring-boot-project/spring-boot/src/main/java/org/springframework/boot/web/embedded/undertow/UndertowGracefulShutdown.java +++ b/spring-boot-project/spring-boot/src/main/java/org/springframework/boot/web/embedded/undertow/UndertowGracefulShutdown.java @@ -64,7 +64,7 @@ class UndertowGracefulShutdown implements GracefulShutdown { logger.info("Graceful shutdown complete"); return true; } - logger.info("Grace period elaped with one or more requests still active"); + logger.info("Grace period elapsed with one or more requests still active"); return graceful; }