You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@accumulo.apache.org by "Christopher Tubbs (JIRA)" <ji...@apache.org> on 2013/07/30 21:01:50 UTC
[jira] [Resolved] (ACCUMULO-1622) Value.toString() doesn't respect
getSize()
[ https://issues.apache.org/jira/browse/ACCUMULO-1622?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Christopher Tubbs resolved ACCUMULO-1622.
-----------------------------------------
Resolution: Not A Problem
After further investigation, it turns out this is not a bug. I was misled by the javadoc on get() which says "is only valid between 0 and getSize()-1, but getSize() always returns byte[].length of the underlying byte array.
> Value.toString() doesn't respect getSize()
> ------------------------------------------
>
> Key: ACCUMULO-1622
> URL: https://issues.apache.org/jira/browse/ACCUMULO-1622
> Project: Accumulo
> Issue Type: Bug
> Affects Versions: 1.4.3, 1.5.0
> Reporter: Christopher Tubbs
> Assignee: Christopher Tubbs
> Fix For: 1.4.4, 1.5.1, 1.6.0
>
>
> Value.toString() uses get() to get the underlying byte array, but it does not respect the offset/length of the byte array when constructing a new String.
--
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