uima-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Marshall Schor (JIRA)" <...@uima.apache.org>
Subject [jira] [Reopened] (UIMA-5930) use StandardChartsets constants if possible
Date Wed, 13 Mar 2019 21:39:00 GMT

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

Marshall Schor reopened UIMA-5930:
----------------------------------

fix spelling of title

 

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

Mime
View raw message