You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Michael McCandless (JIRA)" <ji...@apache.org> on 2009/04/27 11:17:30 UTC

[jira] Commented: (LUCENE-1616) add one setter for start and end offset to OffsetAttribute

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

Michael McCandless commented on LUCENE-1616:
--------------------------------------------

Should we deprecate the separate setters with this addition?

> add one setter for start and end offset to OffsetAttribute
> ----------------------------------------------------------
>
>                 Key: LUCENE-1616
>                 URL: https://issues.apache.org/jira/browse/LUCENE-1616
>             Project: Lucene - Java
>          Issue Type: Improvement
>          Components: Analysis
>            Reporter: Eks Dev
>            Priority: Trivial
>             Fix For: 2.9
>
>         Attachments: LUCENE-1616.patch
>
>
> add OffsetAttribute. setOffset(startOffset, endOffset);
> trivial change, no JUnit needed
> Changed CharTokenizer to use it

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