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

small typo in Map docs

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: P4
    • Resolution: Fixed
    • Affects Version/s: 5.0
    • Fix Version/s: 5.0
    • Component/s: core-libs
    • Labels:

      Description

      from

      http://forum.java.sun.com/thread.jsp?forum=316&thread=489159

       Near the bottom of the class javadoc for EnumMap, there's a line that's supposed to read

        Map<EnumKey, V> m = Collections.synchronizedMap(new EnumMap(...));

      But, because the angle brackets aren't escaped, it comes out as

        Map m = Collections.synchronizedMap(new EnumMap(...));

      in the HTML docs. EnumSet has the same problem.

        Attachments

          Activity

            People

            Assignee:
            jjb Josh Bloch
            Reporter:
            gafter Neal Gafter
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: