You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@uima.apache.org by "Marshall Schor (JIRA)" <de...@uima.apache.org> on 2019/03/13 21:39:00 UTC

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

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

Marshall Schor updated UIMA-5930:
---------------------------------
    Summary: use StandardCharsets constants if possible  (was: use StandardChartsets constants if possible)

> use StandardCharsets constants if possible
> ------------------------------------------
>
>                 Key: UIMA-5930
>                 URL: https://issues.apache.org/jira/browse/UIMA-5930
>             Project: UIMA
>          Issue Type: Improvement
>            Reporter: Joern Kottmann
>            Assignee: Marshall Schor
>            Priority: Minor
>             Fix For: 3.0.2SDK
>
>         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 somebody introduces a typo 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)