Incorrect javadoc for java.awt.Scrollbar.setMinimum method

XMLWordPrintable

    • Type: Bug
    • Resolution: Fixed
    • Priority: P4
    • 5.0
    • Affects Version/s: 1.4.0, 5.0
    • Component/s: docs
    • tiger
    • generic, sparc
    • generic, solaris_2.6

      Name: dsR10051 Date: 11/22/2002


      Javadoc for method of class java.awt.Scrollbar
      public void setMinimum(int newMinimum)
      has typo. It says:

       * @(#)Scrollbar.java 1.95 02/06/17
      "...
           * <p>Note that setting the minimum value to <code>Integer.MIN_VALUE</code>
           * will result in the new minimum value to be set to
           * <code>Integer.MIN_VALUE - 1</code>.
       ...
          public void setMinimum(int newMinimum)
      "

      Integer.MIN_VALUE in this assertion must be amended to Integer.MAX_VALUE

      ======================================================================

            Assignee:
            Sharon Zakhour (Inactive)
            Reporter:
            Sda Sda (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: