[
https://issues.apache.org/jira/browse/HBASE-22199?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16815481#comment-16815481
]
Peter Somogyi commented on HBASE-22199:
---------------------------------------
On a previous charset cleanup we used Bytes.toBytes("string") instead of
getBytes(StandardCharsets.UTF_8). Wouldn't it be better to use that?
See HBASE-19545.
> Replace "UTF-8" with StandardCharsets.UTF_8 where possible
> ----------------------------------------------------------
>
> Key: HBASE-22199
> URL: https://issues.apache.org/jira/browse/HBASE-22199
> Project: HBase
> Issue Type: Task
> Reporter: Jan Hentschel
> Assignee: Jan Hentschel
> Priority: Trivial
>
> Currently the String "UTF-8" is used in some places where
> StandardCharsets.UTF_8 could be used. To make it easier to maintain, the
> current usages of "UTF-8" as a String should be replaced with
> StandardCharsets.UTF_8.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)