Robert Muir created LUCENE-4714:
-----------------------------------

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


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

Reply via email to