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)