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 21:46:58 UTC
[jira] [Created] (MRESOLVER-6) Use
java.nio.charset.StandardCharsets whereever possible
Michael Osipov created MRESOLVER-6:
--------------------------------------
Summary: Use java.nio.charset.StandardCharsets whereever 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)