You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@lucene.apache.org by mi...@apache.org on 2012/03/16 16:45:38 UTC

svn commit: r1301601 - in /lucene/dev/branches/branch_3x: ./ lucene/ lucene/core/src/java/org/apache/lucene/util/fst/PairOutputs.java

Author: mikemccand
Date: Fri Mar 16 15:45:38 2012
New Revision: 1301601

URL: http://svn.apache.org/viewvc?rev=1301601&view=rev
Log:
LUCENE-3877: don't print to std streams in Lucene core

Modified:
    lucene/dev/branches/branch_3x/   (props changed)
    lucene/dev/branches/branch_3x/lucene/   (props changed)
    lucene/dev/branches/branch_3x/lucene/core/src/java/org/apache/lucene/util/fst/PairOutputs.java

Modified: lucene/dev/branches/branch_3x/lucene/core/src/java/org/apache/lucene/util/fst/PairOutputs.java
URL: http://svn.apache.org/viewvc/lucene/dev/branches/branch_3x/lucene/core/src/java/org/apache/lucene/util/fst/PairOutputs.java?rev=1301601&r1=1301600&r2=1301601&view=diff
==============================================================================
--- lucene/dev/branches/branch_3x/lucene/core/src/java/org/apache/lucene/util/fst/PairOutputs.java (original)
+++ lucene/dev/branches/branch_3x/lucene/core/src/java/org/apache/lucene/util/fst/PairOutputs.java Fri Mar 16 15:45:38 2012
@@ -92,18 +92,15 @@ public class PairOutputs<A,B> extends Ou
     final boolean noOutput2 = pair.output2.equals(outputs2.getNoOutput());
 
     if (noOutput1 && pair.output1 != outputs1.getNoOutput()) {
-      System.out.println("invalid0");
       return false;
     }
 
     if (noOutput2 && pair.output2 != outputs2.getNoOutput()) {
-      System.out.println("invalid1");
       return false;
     }
 
     if (noOutput1 && noOutput2) {
       if (pair != NO_OUTPUT) {
-        System.out.println("invalid2");
         return false;
       } else {
         return true;