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

Create EMPTY_ARGS constsant in SnowballProgram instead of allocating new Object[0]

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 4.0-ALPHA
    • modules/analysis
    • None
    • New, Patch Available

    Description

      Instead of allocating new Object[0] create a proper constant in SnowballProgram. The same (for new Class[0]) is created in Among, although it's less critical because Among is called from static initializers ... Patch will follow shortly.

      Attachments

        1. LUCENE--2288.patch
          2 kB
          Shai Erera

        Activity

          People

            rcmuir Robert Muir
            shaie Shai Erera
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: