You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Michael Osipov (JIRA)" <ji...@apache.org> on 2016/10/31 22:07:58 UTC

[jira] [Updated] (MRESOLVER-6) Use java.nio.charset.StandardCharsets wherever possible

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

Michael Osipov updated MRESOLVER-6:
-----------------------------------
    Summary: Use java.nio.charset.StandardCharsets wherever possible  (was: Use java.nio.charset.StandardCharsets whereever possible)

> Use java.nio.charset.StandardCharsets wherever possible
> -------------------------------------------------------
>
>                 Key: MRESOLVER-6
>                 URL: https://issues.apache.org/jira/browse/MRESOLVER-6
>             Project: Maven Resolver
>          Issue Type: Improvement
>          Components: resolver
>    Affects Versions: Aether 1.0.2
>            Reporter: Michael Osipov
>            Assignee: Michael Osipov
>             Fix For: Maven Artifact Resolver 1.2.0
>
>
> In many spots a {{UnsupportedEncodingException}} has to be caught because  {{UTF-8}} is passed as string, though this encoding must be supported by every JVM implementation. So we can use {{StandardCharsets.UTF_8}} and remove boilerplate code around it.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)