I\'m using a java library (jar file). The author of the file put in a bunch of System.out.print and System.out.printlns. Is there any way to hide these
System.out.print
System.out.println
System.setOut(); is probably what you're looking for
System.setOut();
System.setOut(new PrintStream(new OutputStream() { public void write(int b) { // NO-OP } }));
Source