You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Paul Elschot (JIRA)" <ji...@apache.org> on 2012/12/25 12:46:12 UTC

[jira] [Closed] (LUCENE-4483) Make Term constructor javadoc refer to BytesRef.deepCopyOf

     [ https://issues.apache.org/jira/browse/LUCENE-4483?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Paul Elschot closed LUCENE-4483.
--------------------------------


Fixed
                
> Make Term constructor javadoc refer to BytesRef.deepCopyOf
> ----------------------------------------------------------
>
>                 Key: LUCENE-4483
>                 URL: https://issues.apache.org/jira/browse/LUCENE-4483
>             Project: Lucene - Core
>          Issue Type: Improvement
>          Components: core/index
>    Affects Versions: 4.1
>            Reporter: Paul Elschot
>            Priority: Trivial
>             Fix For: 4.1, 5.0
>
>         Attachments: LUCENE-4483.patch
>
>
> The Term constructor from BytesRef javadoc indicates that a clone needs to be made of the BytesRef.
> But the clone() method of BytesRef is not what is meant, a deep copy needs to be made.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

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