You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Shai Erera (JIRA)" <ji...@apache.org> on 2010/02/27 22:29:05 UTC

[jira] Updated: (LUCENE-2288) Create EMPTY_ARGS constsant in SnowballProgram instead of allocating new Object[0]

     [ https://issues.apache.org/jira/browse/LUCENE-2288?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Shai Erera updated LUCENE-2288:
-------------------------------

    Attachment: LUCENE--2288.patch

Patch w/ the trivial change.

> Create EMPTY_ARGS constsant in SnowballProgram instead of allocating new Object[0]
> ----------------------------------------------------------------------------------
>
>                 Key: LUCENE-2288
>                 URL: https://issues.apache.org/jira/browse/LUCENE-2288
>             Project: Lucene - Java
>          Issue Type: Improvement
>          Components: Analysis
>            Reporter: Shai Erera
>             Fix For: 3.1
>
>         Attachments: LUCENE--2288.patch
>
>
> 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.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: java-dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: java-dev-help@lucene.apache.org