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
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: [email protected]
For additional commands, e-mail: [email protected]