You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hbase.apache.org by "Ted Yu (JIRA)" <ji...@apache.org> on 2012/11/15 16:32:12 UTC

[jira] [Comment Edited] (HBASE-7128) Reduce annoying catch clauses of UnsupportedEncodingException that is never thrown because of UTF-8

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

Ted Yu edited comment on HBASE-7128 at 11/15/12 3:31 PM:
---------------------------------------------------------

I have attached an addendum.
                
      was (Author: yuzhihong@gmail.com):
    Can you attach an addendum ?
                  
> Reduce annoying catch clauses of UnsupportedEncodingException that is never thrown because of UTF-8
> ---------------------------------------------------------------------------------------------------
>
>                 Key: HBASE-7128
>                 URL: https://issues.apache.org/jira/browse/HBASE-7128
>             Project: HBase
>          Issue Type: Improvement
>            Reporter: Hiroshi Ikeda
>            Priority: Trivial
>             Fix For: 0.96.0
>
>         Attachments: 7128-addendum.txt, HBASE-7128.patch, HBASE-7128-V2.patch
>
>
> There are some codes that catch UnsupportedEncodingException, and log or ignore it because Java always supports UTF-8 (see the javadoc of Charset).
> The catch clauses are annoying, and they should be replaced by methods of Bytes.

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