lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Uwe Schindler (JIRA)" <>
Subject [jira] Created: (LUCENE-2303) Remove code duplication Token class, just extend TermAttributeImpl
Date Sun, 07 Mar 2010 22:54:27 GMT
Remove code duplication Token class, just extend TermAttributeImpl

                 Key: LUCENE-2303
             Project: Lucene - Java
          Issue Type: Sub-task
            Reporter: Uwe Schindler
            Assignee: Uwe Schindler
             Fix For: Flex Branch, 3.1
         Attachments: LUCENE-2303.patch

This issue removes the code duplication from Token, as it shares the whole char[] buffer handling
code with TermAttributeImpl. This issue removes this duplication by just extending TermAttributeImpl.

When the parent issue LUCENE-2302 will extend TermAttribute to support CharSequence and Appendable
and also the new BytesRefAttribute gets added, Token will automatically provide this too,
so no further code duplication.

This code should also be committed to trunk, as it has nothing to do with flex.

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:
For additional commands, e-mail:

View raw message