src/java.base/share/classes/java/lang/String.java
changeset 53019 4ddd3c410a85
parent 53018 8bf9268df0e2
child 53049 c74f074c532a
equal deleted inserted replaced
53018:8bf9268df0e2 53019:4ddd3c410a85
  3543         throw new IllegalArgumentException(
  3543         throw new IllegalArgumentException(
  3544             format("Not a valid Unicode code point: 0x%X", codePoint));
  3544             format("Not a valid Unicode code point: 0x%X", codePoint));
  3545     }
  3545     }
  3546 
  3546 
  3547     /**
  3547     /**
  3548      * Returns a nominal descriptor for this instance, which is the instance
  3548      * Returns an {@link Optional} containing the nominal descriptor for this
  3549      * itself.
  3549      * instance, which is the instance itself.
  3550      *
  3550      *
  3551      * @return an {@link Optional} describing the {@linkplain String} instance
  3551      * @return an {@link Optional} describing the {@linkplain String} instance
  3552      * @since 12
  3552      * @since 12
  3553      */
  3553      */
  3554     @Override
  3554     @Override