accumulo-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Bill Havanki (JIRA)" <j...@apache.org>
Subject [jira] [Created] (ACCUMULO-2758) LocalityGroupUtil.encodeColumnFamily() ignores offset parameter
Date Tue, 29 Apr 2014 18:54:16 GMT
Bill Havanki created ACCUMULO-2758:
--------------------------------------

             Summary: LocalityGroupUtil.encodeColumnFamily() ignores offset parameter
                 Key: ACCUMULO-2758
                 URL: https://issues.apache.org/jira/browse/ACCUMULO-2758
             Project: Accumulo
          Issue Type: Bug
    Affects Versions: 1.5.1, 1.4.5
            Reporter: Bill Havanki
            Priority: Minor


The method {{LocalityGroupUtil.encodeColumnFamily(ByteSequence)}} heeds the current offset
and length of the byte sequence, passing them to an private method that does the encoding.
However, the private method ignores its offset parameter, and always starts from the beginning
of the byte array.

Fortunately, it appears that there are no callers for the public method, and the other caller
of the private method always passes an offset of zero. So, the bug is probably not expressed.
The method with the bug should probably just be eliminated.



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Mime
View raw message