From b7810bf5a86bdc66d3863179843f078f56a5c09a Mon Sep 17 00:00:00 2001 From: David Pursehouse Date: Sun, 20 Jan 2019 20:25:53 +0900 Subject: [PATCH] RawParseUtils: Avoid import of java.nio.charset.StandardCharsets The import is only needed because of a reference to it in the Javadoc, and can be avoided by explicitly specifying the package instead, which is how it's referenced in other cases (Constants, FileHeader). Change-Id: I0c6254a9adf1f52fb8f2c04a858b11696ad264f5 Signed-off-by: David Pursehouse --- org.eclipse.jgit/src/org/eclipse/jgit/util/RawParseUtils.java | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/org.eclipse.jgit/src/org/eclipse/jgit/util/RawParseUtils.java b/org.eclipse.jgit/src/org/eclipse/jgit/util/RawParseUtils.java index 9feb20a50..2081bace2 100644 --- a/org.eclipse.jgit/src/org/eclipse/jgit/util/RawParseUtils.java +++ b/org.eclipse.jgit/src/org/eclipse/jgit/util/RawParseUtils.java @@ -57,7 +57,6 @@ import java.nio.charset.Charset; import java.nio.charset.CharsetDecoder; import java.nio.charset.CodingErrorAction; import java.nio.charset.IllegalCharsetNameException; -import java.nio.charset.StandardCharsets; import java.nio.charset.UnsupportedCharsetException; import java.util.Arrays; import java.util.HashMap; @@ -76,7 +75,7 @@ public final class RawParseUtils { * UTF-8 charset constant. * * @since 2.2 - * @deprecated use {@link StandardCharsets#UTF_8} instead + * @deprecated use {@link java.nio.charset.StandardCharsets#UTF_8} instead */ @Deprecated public static final Charset UTF8_CHARSET = UTF_8;