Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8187564

Typo in javadoc of java.util.Map.computeIfAbsent

XMLWordPrintable

      FULL PRODUCT VERSION :
      java version "1.8.0_144"
      Java(TM) SE Runtime Environment (build 1.8.0_144-b01)
      Java HotSpot(TM) 64-Bit Server VM (build 25.144-b01, mixed mode)

      A DESCRIPTION OF THE PROBLEM :
      The javadoc of java.util.Map.computeIfAbsent has a small typo:

      "The most common usage is to construct a new object serving as an initial mapped value or memoized result"

      It should be of course "memorized".

      As per Quality Outreach, can you please add label "josm-found" to this bug report?


      REPRODUCIBILITY :
      This bug can be reproduced always.

            psonal Pallavi Sonal (Inactive)
            webbuggrp Webbug Group
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: