Lucene - Core
  1. Lucene - Core
  2. LUCENE-3877

Lucene should not call System.out.println

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 4.0-ALPHA, Trunk
    • Component/s: None
    • Labels:
      None
    • Lucene Fields:
      New

      Description

      We seem to have accumulated a few random sops...

      Eg, PairOutputs.java (oal.util.fst) and MultiDocValues.java, at least.

      Can we somehow detect (eg, have a test failure) if we accidentally leave errant System.out.println's (leftover from debugging)...?

      1. LUCENE-3877.patch
        51 kB
        Robert Muir
      2. LUCENE-3877.patch
        2 kB
        Robert Muir
      3. SystemPrintCheck.java
        5 kB
        Greg Bowyer
      4. IllegalSystemTest.java
        2 kB
        Greg Bowyer
      5. IllegalSystemTest.java
        2 kB
        Greg Bowyer

        Activity

        Michael McCandless created issue -
        Greg Bowyer made changes -
        Field Original Value New Value
        Attachment IllegalSystemTest.java [ 12519206 ]
        Attachment IllegalSystemTest.java [ 12519205 ]
        Greg Bowyer made changes -
        Attachment IllegalSystemTest.java [ 12519205 ]
        Greg Bowyer made changes -
        Attachment IllegalSystemTest.java [ 12519207 ]
        Greg Bowyer made changes -
        Attachment SystemPrintCheck.java [ 12519322 ]
        Hoss Man made changes -
        Assignee Michael McCandless [ mikemccand ]
        Michael McCandless made changes -
        Fix Version/s 3.6 [ 12319070 ]
        Robert Muir made changes -
        Fix Version/s 4.1 [ 12321140 ]
        Fix Version/s 4.0 [ 12314025 ]
        Robert Muir made changes -
        Attachment LUCENE-3877.patch [ 12535811 ]
        Robert Muir made changes -
        Attachment LUCENE-3877.patch [ 12536043 ]
        Robert Muir made changes -
        Status Open [ 1 ] Resolved [ 5 ]
        Fix Version/s 4.0 [ 12314025 ]
        Fix Version/s 5.0 [ 12321663 ]
        Fix Version/s 4.1 [ 12321140 ]
        Resolution Fixed [ 1 ]
        Uwe Schindler made changes -
        Status Resolved [ 5 ] Closed [ 6 ]

          People

          • Assignee:
            Michael McCandless
            Reporter:
            Michael McCandless
          • Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development