lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Uwe Schindler (JIRA)" <j...@apache.org>
Subject [jira] Updated: (LUCENE-2157) DelimitedPayloadTokenFilter copies the bufer over itsself. Instead it should only set the length. Also optimize logic.
Date Tue, 15 Dec 2009 13:23:18 GMT

     [ 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

Final patch, will commit this soon. I verified, that the code is correct accoring to NIO CharsetEncoder.encode()

> 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, LUCENE-2157.patch, 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


Mime
View raw message