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

Leftover legacy enum in IndexReader

Details

    • Improvement
    • Status: Closed
    • Trivial
    • Resolution: Fixed
    • 3.0, 3.1, 3.2, 3.3
    • 3.4, 4.0-ALPHA
    • core/index
    • None
    • 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

            uschindler Uwe Schindler
            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