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

Commit Tag Bot commented on LUCENE-4483:
----------------------------------------

[branch_4x commit] Robert Muir
http://svn.apache.org/viewvc?view=revision&revision=1406441

LUCENE-4483: clarify Term constructor documentation

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

Reply via email to