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 2014/05/03 00:24:14 UTC

[jira] [Commented] (LUCENE-5639) Fix implementation of PositionLengthAttribute in Token.java

    [ https://issues.apache.org/jira/browse/LUCENE-5639?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13988343#comment-13988343 ] 

Uwe Schindler commented on LUCENE-5639:
---------------------------------------

We should also cleanup the Token class and reomve the various horrible ctors calling each other. Alos all of the stupid reInit methods. All those are buggy like hellp if you add new attributes.

> Fix implementation of PositionLengthAttribute in Token.java
> -----------------------------------------------------------
>
>                 Key: LUCENE-5639
>                 URL: https://issues.apache.org/jira/browse/LUCENE-5639
>             Project: Lucene - Core
>          Issue Type: Sub-task
>          Components: modules/analysis
>            Reporter: Uwe Schindler
>            Assignee: Uwe Schindler
>             Fix For: 4.7.3, 4.8.1, 4.9, 5.0
>
>
> The Token class misses to correctly implement all clone/copy/equals/... stuff for PositionLengthAttribute.



--
This message was sent by Atlassian JIRA
(v6.2#6252)

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