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

William Slacum commented on ACCUMULO-1738:
------------------------------------------

I'm always in favor of removing/deprecating code, especially since the use case 
seems to be purely for testing convenience. We should probably at least write a 
utility method to do {{String->ArrayByteSequence}} since existing clients might 
use it. 
                
> ArrayByteSequence string conversion use platform default encoding
> -----------------------------------------------------------------
>
>                 Key: ACCUMULO-1738
>                 URL: https://issues.apache.org/jira/browse/ACCUMULO-1738
>             Project: Accumulo
>          Issue Type: Bug
>            Reporter: Bill Havanki
>            Priority: Trivial
>              Labels: newbie
>
> The class {{org.apache.accumulo.core.data.ArrayByteSequence}} has a 
> constructor that accepts a {{String}}, as well as a {{toString()}} method. 
> Both use the platform default encoding to convert from characters to bytes 
> and back, which can cause problems. They should explicitly use 
> {{Constants.UTF8}} for conversion to ensure consistency across platforms.

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

Reply via email to