< prev index next >

src/java.base/share/classes/java/lang/String.java

Print this page
rev 52981 : 8215300: additional changes to constants API

*** 3543,3554 **** throw new IllegalArgumentException( format("Not a valid Unicode code point: 0x%X", codePoint)); } /** ! * Returns a nominal descriptor for this instance, which is the instance ! * itself. * * @return an {@link Optional} describing the {@linkplain String} instance * @since 12 */ @Override --- 3543,3554 ---- throw new IllegalArgumentException( format("Not a valid Unicode code point: 0x%X", codePoint)); } /** ! * Returns an {@link Optional} containing the nominal descriptor for this ! * instance, which is the instance itself. * * @return an {@link Optional} describing the {@linkplain String} instance * @since 12 */ @Override
< prev index next >