Uploaded image for project: 'Lucene - Core'
  1. Lucene - Core
  2. LUCENE-3302

Leftover legacy enum in IndexReader

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Trivial
    • Resolution: Fixed
    • Affects Version/s: 3.0, 3.1, 3.2, 3.3
    • Fix Version/s: 3.4, 4.0-ALPHA
    • Component/s: core/index
    • Labels:
      None
    • Lucene Fields:
      New, Patch Available

      Description

      In IndexReader we still have some leftover "handmade" enum from pre-Java5 times. Unfortunately the Generics/Java5 Policeman did not notice it.

      This patch is just code cleanup, no baclkwards breaks, as code using this enum would not see any difference (because only superclass changes).

      I will commit this asap.

        Attachments

        1. LUCENE-3302.patch
          3 kB
          Uwe Schindler

          Activity

            People

            • Assignee:
              uschindler Uwe Schindler
              Reporter:
              uschindler Uwe Schindler
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Time Tracking

                Estimated:
                Original Estimate - 5m
                5m
                Remaining:
                Remaining Estimate - 5m
                5m
                Logged:
                Time Spent - Not Specified
                Not Specified