Lucene - Core
  1. Lucene - Core
  2. LUCENE-2241

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

    Details

    • Type: Task Task
    • Status: Closed
    • Priority: Minor Minor
    • Resolution: Fixed
    • Affects Version/s: 3.1
    • Fix Version/s: 4.0-ALPHA
    • Component/s: modules/analysis
    • Labels:
      None
    • Lucene Fields:
      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.

      1. LUCENE-2241.patch
        245 kB
        Simon Willnauer

        Issue Links

          Activity

          Hide
          Simon Willnauer added a comment -

          this is block by LUCENE-2240

          Show
          Simon Willnauer added a comment - this is block by LUCENE-2240
          Hide
          Simon Willnauer added a comment -

          converted all core tests to use Version ctors

          Show
          Simon Willnauer added a comment - converted all core tests to use Version ctors
          Hide
          Uwe Schindler added a comment -

          Patch looks good, I will commit this with LUCENE-2240 in a day or two.

          Show
          Uwe Schindler added a comment - Patch looks good, I will commit this with LUCENE-2240 in a day or two.
          Hide
          Uwe Schindler added a comment -

          Committed revision: 905044

          Thanks Simon!

          Show
          Uwe Schindler added a comment - Committed revision: 905044 Thanks Simon!

            People

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

              Dates

              • Created:
                Updated:
                Resolved:

                Development