Fixed #2271. Remove System.out.println from production code.