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

VetoableChangeSupport.fireVetoableChange() doc is incorrect.

XMLWordPrintable

    • b32
    • generic
    • generic



      Name: at153223 Date: 07/23/2004


      Documentation for these two methods in VetoableChangeSupport:

        public void fireVetoableChange(String, int, int)
        public void fireVetoableChange(String, boolean, boolean)

      contains some inaccuracy in the next string:

        "No event is fired if old and new are equal and non-null."

      Values of 'int' or 'boolean' type can't be null. This was valid
      only for: public void fireVetoableChange(String, Object, Object).
      ======================================================================

            kereminsunw Konstantin Eremin (Inactive)
            ant Anton Tarasov (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: