< prev index next >

src/java.base/share/classes/java/util/Map.java

Print this page

        

@@ -730,12 +730,11 @@
      * If the specified key is not already associated with a value (or is mapped
      * to {@code null}) associates it with the given value and returns
      * {@code null}, else returns the current value.
      *
      * @implSpec
-     * The default implementation is equivalent to, for this {@code
-     * map}:
+     * The default implementation is equivalent to, for this {@code map}:
      *
      * <pre> {@code
      * V v = map.get(key);
      * if (v == null)
      *     v = map.put(key, value);
< prev index next >