Deprecate RawParseUtils.UTF8-CHARSET
That constant is just a redirection to a java standard constant meanwhile. It is not referenced anymore in jgit code (and egit is just removing it). Clients can use the redirection target directly. Change-Id: I058d013f61da8d7b771c499d8743aafb8faa5ea8 Signed-off-by: Michael Keppler <Michael.Keppler@gmx.de> Signed-off-by: Matthias Sohn <matthias.sohn@sap.com>
This commit is contained in:
parent
530812d936
commit
d8bb1d09d2
|
@ -57,6 +57,7 @@
|
||||||
import java.nio.charset.CharsetDecoder;
|
import java.nio.charset.CharsetDecoder;
|
||||||
import java.nio.charset.CodingErrorAction;
|
import java.nio.charset.CodingErrorAction;
|
||||||
import java.nio.charset.IllegalCharsetNameException;
|
import java.nio.charset.IllegalCharsetNameException;
|
||||||
|
import java.nio.charset.StandardCharsets;
|
||||||
import java.nio.charset.UnsupportedCharsetException;
|
import java.nio.charset.UnsupportedCharsetException;
|
||||||
import java.util.Arrays;
|
import java.util.Arrays;
|
||||||
import java.util.HashMap;
|
import java.util.HashMap;
|
||||||
|
@ -75,7 +76,9 @@ public final class RawParseUtils {
|
||||||
* UTF-8 charset constant.
|
* UTF-8 charset constant.
|
||||||
*
|
*
|
||||||
* @since 2.2
|
* @since 2.2
|
||||||
|
* @deprecated use {@link StandardCharsets#UTF_8} instead
|
||||||
*/
|
*/
|
||||||
|
@Deprecated
|
||||||
public static final Charset UTF8_CHARSET = UTF_8;
|
public static final Charset UTF8_CHARSET = UTF_8;
|
||||||
|
|
||||||
private static final byte[] digits10;
|
private static final byte[] digits10;
|
||||||
|
|
Loading…
Reference in New Issue