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

Doc for ZoneView.setMaxZonesLoaded has contradictions

XMLWordPrintable

    • beta2
    • sparc
    • solaris_2.6



      Name: ooR10001 Date: 06/29/2001


      Javadoc comments for javax.swing.text.ZoneView class has contradictions because
      it conatins two different conditions for IllegalArgumentException.

      JavaDoc says:
      ----------------------------------------------------------
      setMaxZonesLoaded

      public void setMaxZonesLoaded(int mzl)

            Set the current setting of the number of zones allowed to be loaded at the
      same time. This will
            throw an IllegalArgumentException if mzl is less than 1.
                                                 ^^^^^^^^^^^^^^^^^^
            Parameters:
                  mzl - the desired maximum number of zones to be actively loaded,
      must be greater than 0
            Throws:
                  IllegalArgumentException - if mzl is < 0
                                                ^^^^^^^^^^
      ----------------------------------------------------------

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

            sharonz Sharon Zakhour (Inactive)
            oovsunw Oov Oov (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: