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

Core Tests should call Version based ctors instead of deprecated default ctors

Details

    • Task
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 3.1
    • 4.0-ALPHA
    • modules/analysis
    • None
    • New, Patch Available

    Description

      LUCENE-2183 introduced new ctors for all CharTokenizer subclasses. Core - tests should use those ctors with Version.LUCENE_CURRENT instead of the the deprecated ctors. Yet, LUCENE-2240 introduces more Version ctors For WhitespaceAnalyzer and SimpleAnalyzer. Test should also use their Version ctors instead the default ones.

      Attachments

        1. LUCENE-2241.patch
          245 kB
          Simon Willnauer

        Issue Links

          Activity

            People

              uschindler Uwe Schindler
              simonw Simon Willnauer
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: