[
https://issues.apache.org/jira/browse/LUCENE-2288?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12839315#action_12839315
]
Robert Muir commented on LUCENE-2288:
-------------------------------------
thanks Shai, the patch looks good to me, though i hope it only affects the
Lovins stemmer (or in case someone has written their own Snowball stemmer), as
the others should not be using this reflection!
will commit in a few days unless someone objects.
> 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: [email protected]
For additional commands, e-mail: [email protected]