Comment out System.out.println.
MODIFY
src/test/java/org/apache/commons/io/input/TailerTest.java
src/test/java/org/apache/commons/io/input/TailerTest.java
@@ -98,7 +98,7 @@ public void testLongFile() throws Exception {
while (lines.isEmpty() || !lines.get(lines.size() - 1).equals("SBTOURIST")) {
lines = listener.getLines();
}
- System.out.println("Elapsed: " + (System.currentTimeMillis() - start));
+ // System.out.println("Elapsed: " + (System.currentTimeMillis() - start));
listener.clear();
}
@@ -127,7 +127,7 @@ public void testBufferBreak() throws Exception {
@Test
public void testMultiByteBreak() throws Exception {
- System.out.println("testMultiByteBreak() Default charset: "+Charset.defaultCharset().displayName());
+ // System.out.println("testMultiByteBreak() Default charset: " + Charset.defaultCharset().displayName());
final long delay = 50;
final File origin = new File(this.getClass().getResource("/test-file-utf8.bin").toURI());
final File file = new File(getTestDirectory(), "testMultiByteBreak.txt");

Comment out System.out.println.