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:11:58 UTC

[jira] [Closed] (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 closed MRESOLVER-6.
----------------------------------
    Resolution: Fixed

Fixed with [b36a2bff2e5ab980495f39e4f1390a376be3b9b4|https://git-wip-us.apache.org/repos/asf?p=maven-resolver.git;a=commit;h=b36a2bff2e5ab980495f39e4f1390a376be3b9b4].

> 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 an {{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)