Skip to content

Commit

Permalink
#12680 remove superfluous System.err prints
Browse files Browse the repository at this point in the history
Signed-off-by: Ludovic Orban <[email protected]>
  • Loading branch information
lorban committed Jan 9, 2025
1 parent b95fc96 commit 233e45d
Showing 1 changed file with 0 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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));
Expand Down Expand Up @@ -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;
Expand All @@ -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
Expand Down

0 comments on commit 233e45d

Please sign in to comment.