You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Uwe Schindler (JIRA)" <ji...@apache.org> on 2009/12/14 19:47:19 UTC

[jira] Updated: (LUCENE-2157) DelimitedPayloadTokenFilter copies the bufer over itsself. Instead it should only set the length. Also optimize logic.

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

Uwe Schindler updated LUCENE-2157:
----------------------------------

    Attachment: LUCENE-2157.patch

> DelimitedPayloadTokenFilter copies the bufer over itsself. Instead it should only set the length. Also optimize logic.
> ----------------------------------------------------------------------------------------------------------------------
>
>                 Key: LUCENE-2157
>                 URL: https://issues.apache.org/jira/browse/LUCENE-2157
>             Project: Lucene - Java
>          Issue Type: Improvement
>          Components: contrib/analyzers
>    Affects Versions: 3.0
>            Reporter: Uwe Schindler
>            Assignee: Uwe Schindler
>            Priority: Minor
>             Fix For: 3.1
>
>         Attachments: LUCENE-2157.patch
>
>
> This is a small improvement I found when looking around. It is also a bad idea to copy a array over itsself.
> All tests pass, will commit later!

-- 
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