Polish spelling of elapsed

See gh-4657
This commit is contained in:
Andy Wilkinson 2020-03-09 18:41:27 +00:00
parent da06b38117
commit 6ec3865ed0
3 changed files with 3 additions and 3 deletions

View File

@ -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;
}

View File

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

View File

@ -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;
}