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

VetoableChangeSupport.fireVetoableChange() doc is incorrect.

    Details

    • Subcomponent:
    • Resolved In Build:
      b32
    • CPU:
      generic
    • OS:
      generic

      Description



      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).
      ======================================================================

        Attachments

          Activity

            People

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

              Dates

              • Created:
                Updated:
                Resolved:
                Imported:
                Indexed: