From 0df3ec2ef37d0c382376839ceef5911ca116a4af Mon Sep 17 00:00:00 2001 From: Onur Kagan Ozcan Date: Wed, 31 Jan 2024 16:49:13 +0300 Subject: [PATCH] Remove System.out usage from Jetty GracefulShutdown See gh-39360 --- .../boot/web/embedded/jetty/GracefulShutdown.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/spring-boot-project/spring-boot/src/main/java/org/springframework/boot/web/embedded/jetty/GracefulShutdown.java b/spring-boot-project/spring-boot/src/main/java/org/springframework/boot/web/embedded/jetty/GracefulShutdown.java index 8ccd5d26e56..987583bc212 100644 --- a/spring-boot-project/spring-boot/src/main/java/org/springframework/boot/web/embedded/jetty/GracefulShutdown.java +++ b/spring-boot-project/spring-boot/src/main/java/org/springframework/boot/web/embedded/jetty/GracefulShutdown.java @@ -36,6 +36,7 @@ import org.springframework.util.ReflectionUtils; * Handles Jetty graceful shutdown. * * @author Andy Wilkinson + * @author Onur Kagan Ozcan */ final class GracefulShutdown { @@ -99,7 +100,6 @@ final class GracefulShutdown { while (this.shuttingDown && this.activeRequests.get() > 0) { sleep(100); } - System.out.println(this.activeRequests.get()); this.shuttingDown = false; long activeRequests = this.activeRequests.get(); if (activeRequests == 0) {