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

small typo in Map docs

XMLWordPrintable

      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.

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

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: