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

(coll spec) Error in documentation of EnumSet.range()

XMLWordPrintable

    • b19
    • x86
    • windows_xp
    • Not verified

      A DESCRIPTION OF THE PROBLEM :
      The text :

      Throws:
          NullPointerException - if first or last are null
          IllegalArgumentException - if first.compareTo(last) > 0


      ... should be :

      Throws:
          NullPointerException - if from or to are null
          IllegalArgumentException - if from.compareTo(to) > 0


      URL OF FAULTY DOCUMENTATION :
      http://java.sun.com/javase/6/docs/api/java/util/EnumSet.html#range(E,%20E)

            martin Martin Buchholz
            rmandalasunw Ranjith Mandala (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: