From 233e45db7f2812fff27f6093cccc9d0b40d0cd90 Mon Sep 17 00:00:00 2001 From: Ludovic Orban Date: Thu, 9 Jan 2025 14:31:28 +0100 Subject: [PATCH] #12680 remove superfluous System.err prints Signed-off-by: Ludovic Orban --- .../eclipse/jetty/server/handler/ResourceHandlerTest.java | 5 ----- 1 file changed, 5 deletions(-) diff --git a/jetty-core/jetty-server/src/test/java/org/eclipse/jetty/server/handler/ResourceHandlerTest.java b/jetty-core/jetty-server/src/test/java/org/eclipse/jetty/server/handler/ResourceHandlerTest.java index ea8ff94109f..2e0cd48c04d 100644 --- a/jetty-core/jetty-server/src/test/java/org/eclipse/jetty/server/handler/ResourceHandlerTest.java +++ b/jetty-core/jetty-server/src/test/java/org/eclipse/jetty/server/handler/ResourceHandlerTest.java @@ -778,8 +778,6 @@ public void testOver2GBFile() throws Exception \r """)); - System.err.println(response); - assertThat(response.getStatus(), is(HttpStatus.OK_200)); long responseContentLength = response.getLongField(CONTENT_LENGTH); assertThat(responseContentLength, is(hugeLength)); @@ -3973,11 +3971,9 @@ private void generateFile(Path staticFile, long size) throws Exception if (Files.exists(staticFile) && Files.size(staticFile) == size) { // all done, nothing left to do. - System.err.printf("File Exists Already: %s (%,d bytes)%n", staticFile, Files.size(staticFile)); return; } - System.err.printf("Creating %,d byte file: %s ...%n", size, staticFile); try (SeekableByteChannel channel = Files.newByteChannel(staticFile, StandardOpenOption.CREATE, StandardOpenOption.WRITE, StandardOpenOption.TRUNCATE_EXISTING)) { long remaining = size; @@ -3995,7 +3991,6 @@ private void generateFile(Path staticFile, long size) throws Exception remaining -= len; } } - System.err.println(" Done"); } private void setupQuestionMarkDir(Path base) throws IOException