Remove deprecated String constants for Charsets
Use Kotlin Charsets from the `kotlin.text` package, the `java.nio.charset.StandardCharsets` or the `com.google.common.base.Charsets` instead. #minor-release PiperOrigin-RevId: 532469103
This commit is contained in:
parent
63ee5ccb28
commit
1061135cfd
@ -32,6 +32,11 @@
|
|||||||
* Remove deprecated `DownloadService` constructor, use a non deprecated
|
* Remove deprecated `DownloadService` constructor, use a non deprecated
|
||||||
constructor that includes the option to provide a
|
constructor that includes the option to provide a
|
||||||
`channelDescriptionResourceId` parameter.
|
`channelDescriptionResourceId` parameter.
|
||||||
|
* Remove deprecated String constants for Charsets (`ASCII_NAME`,
|
||||||
|
`UTF8_NAME`, `ISO88591_NAME`, `UTF16_NAME` and `UTF16LE_NAME`), use
|
||||||
|
Kotlin Charsets from the `kotlin.text` package, the
|
||||||
|
`java.nio.charset.StandardCharsets` or the
|
||||||
|
`com.google.common.base.Charsets` instead.
|
||||||
|
|
||||||
### 1.0.2 (2023-05-18)
|
### 1.0.2 (2023-05-18)
|
||||||
|
|
||||||
|
@ -95,36 +95,6 @@ public final class C {
|
|||||||
/** The number of bytes per float. */
|
/** The number of bytes per float. */
|
||||||
@UnstableApi public static final int BYTES_PER_FLOAT = 4;
|
@UnstableApi public static final int BYTES_PER_FLOAT = 4;
|
||||||
|
|
||||||
/**
|
|
||||||
* @deprecated Use {@link java.nio.charset.StandardCharsets} or {@link
|
|
||||||
* com.google.common.base.Charsets} instead.
|
|
||||||
*/
|
|
||||||
@UnstableApi @Deprecated public static final String ASCII_NAME = "US-ASCII";
|
|
||||||
|
|
||||||
/**
|
|
||||||
* @deprecated Use {@link java.nio.charset.StandardCharsets} or {@link
|
|
||||||
* com.google.common.base.Charsets} instead.
|
|
||||||
*/
|
|
||||||
@UnstableApi @Deprecated public static final String UTF8_NAME = "UTF-8";
|
|
||||||
|
|
||||||
/**
|
|
||||||
* @deprecated Use {@link java.nio.charset.StandardCharsets} or {@link
|
|
||||||
* com.google.common.base.Charsets} instead.
|
|
||||||
*/
|
|
||||||
@UnstableApi @Deprecated public static final String ISO88591_NAME = "ISO-8859-1";
|
|
||||||
|
|
||||||
/**
|
|
||||||
* @deprecated Use {@link java.nio.charset.StandardCharsets} or {@link
|
|
||||||
* com.google.common.base.Charsets} instead.
|
|
||||||
*/
|
|
||||||
@UnstableApi @Deprecated public static final String UTF16_NAME = "UTF-16";
|
|
||||||
|
|
||||||
/**
|
|
||||||
* @deprecated Use {@link java.nio.charset.StandardCharsets} or {@link
|
|
||||||
* com.google.common.base.Charsets} instead.
|
|
||||||
*/
|
|
||||||
@UnstableApi @Deprecated public static final String UTF16LE_NAME = "UTF-16LE";
|
|
||||||
|
|
||||||
/** The name of the serif font family. */
|
/** The name of the serif font family. */
|
||||||
@UnstableApi public static final String SERIF_NAME = "serif";
|
@UnstableApi public static final String SERIF_NAME = "serif";
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user