Lucene - Core
  1. Lucene - Core
  2. LUCENE-2288

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

    Details

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

        Activity

        Uwe Schindler made changes -
        Status Resolved [ 5 ] Closed [ 6 ]
        Mark Thomas made changes -
        Workflow Default workflow, editable Closed status [ 12564212 ] jira [ 12585634 ]
        Mark Thomas made changes -
        Workflow jira [ 12500357 ] Default workflow, editable Closed status [ 12564212 ]
        Robert Muir made changes -
        Status Open [ 1 ] Resolved [ 5 ]
        Resolution Fixed [ 1 ]
        Robert Muir made changes -
        Assignee Robert Muir [ rcmuir ]
        Shai Erera made changes -
        Field Original Value New Value
        Attachment LUCENE--2288.patch [ 12437358 ]
        Shai Erera created issue -

          People

          • Assignee:
            Robert Muir
            Reporter:
            Shai Erera
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development