You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Robert Muir (JIRA)" <ji...@apache.org> on 2013/01/24 02:06:11 UTC

[jira] [Updated] (LUCENE-4714) more *Ref bugs in copyXXXX (maybe appendXXXX tooo)

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

Robert Muir updated LUCENE-4714:
--------------------------------

    Attachment: LUCENE-4714.patch

here's a patch for all the copyXXXX

I'll look at append now.
                
> more *Ref bugs in copyXXXX (maybe appendXXXX tooo)
> --------------------------------------------------
>
>                 Key: LUCENE-4714
>                 URL: https://issues.apache.org/jira/browse/LUCENE-4714
>             Project: Lucene - Core
>          Issue Type: Bug
>            Reporter: Robert Muir
>         Attachments: LUCENE-4714.patch
>
>
> {code}
>    public void copyBytes(BytesRef other) {
> -    if (bytes.length - offset < other.length) {
> +    if (length < other.length) {
> {code}
> I'll work up tests for all these classes

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