< prev index next >

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

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

@@ -1836,12 +1836,12 @@
     public static int min(int a, int b) {
         return Math.min(a, b);
     }
 
     /**
-     * Returns a nominal descriptor for this instance, which is the instance
-     * itself.
+     * Returns an {@link Optional} containing the nominal descriptor for this
+     * instance, which is the instance itself.
      *
      * @return an {@link Optional} describing the {@linkplain Integer} instance
      * @since 12
      */
     @Override
< prev index next >