You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hbase.apache.org by "Kevin Risden (JIRA)" <ji...@apache.org> on 2019/02/11 16:20:00 UTC

[jira] [Commented] (HBASE-21872) Clean up getBytes() calls without charsets provided

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

Kevin Risden commented on HBASE-21872:
--------------------------------------

Just a plug for forbiddenapis (1) here - It would prevent future usage of default charset/locale. Lucene/Solr uses it as well as Calcite (CALCITE-1667) since we found some charset related issues. 

1. https://github.com/policeman-tools/forbidden-apis

> Clean up getBytes() calls without charsets provided
> ---------------------------------------------------
>
>                 Key: HBASE-21872
>                 URL: https://issues.apache.org/jira/browse/HBASE-21872
>             Project: HBase
>          Issue Type: Task
>            Reporter: Josh Elser
>            Assignee: Josh Elser
>            Priority: Trivial
>             Fix For: 3.0.0
>
>
> As we saw over in HBASE-21201, the use of {{String.getBytes()}} without a Charset can result is some compiler warnings. Let's just get rid of these calls. There are only a handful anymore in master.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)