src/share/classes/java/nio/charset/StandardCharsets.java

Print this page
rev 4099 : 7041612: Rename StandardCharset to StandardCharsets
Reviewed-by: alanb, mr, darcy

*** 30,43 **** * platform. * * @see <a href="Charset#standard">Standard Charsets</a> * @since 1.7 */ ! public final class StandardCharset { ! private StandardCharset() { ! throw new AssertionError("No java.nio.charset.StandardCharset instances for you!"); } /** * Seven-bit ASCII, a.k.a. ISO646-US, a.k.a. the Basic Latin block of the * Unicode character set */ --- 30,43 ---- * platform. * * @see <a href="Charset#standard">Standard Charsets</a> * @since 1.7 */ ! public final class StandardCharsets { ! private StandardCharsets() { ! throw new AssertionError("No java.nio.charset.StandardCharsets instances for you!"); } /** * Seven-bit ASCII, a.k.a. ISO646-US, a.k.a. the Basic Latin block of the * Unicode character set */