You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@uima.apache.org by "Joern Kottmann (JIRA)" <de...@uima.apache.org> on 2018/12/10 10:55:00 UTC

[jira] [Updated] (UIMA-5930) use StandardChartsets constants if possible

     [ https://issues.apache.org/jira/browse/UIMA-5930?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Joern Kottmann updated UIMA-5930:
---------------------------------
    Attachment: uimaj-5930.patch

> use StandardChartsets constants if possible
> -------------------------------------------
>
>                 Key: UIMA-5930
>                 URL: https://issues.apache.org/jira/browse/UIMA-5930
>             Project: UIMA
>          Issue Type: Improvement
>            Reporter: Joern Kottmann
>            Assignee: Joern Kottmann
>            Priority: Minor
>         Attachments: uimaj-5930.patch
>
>
> In some cases it is possible to replace charset strings with charset constants.
> There are two advantages in doing this:
> - If there somebody introduces a type in the constant name that will result in a compiler error
> - Error handling for the UnsupportedEncodingException can be removed



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