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

small typo in Map docs

    XMLWordPrintable

Details

    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

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

            Dates

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: