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

CompoundEdit.die() spec does not mention call to super.

XMLWordPrintable

    • Cause Known
    • generic
    • generic

      Spec of the method CompoundEdit.die() is following:
        "Sends die to each subedit, in the reverse of the order that they were added."
      It does not mention that this method should call to its super. In this case it looks like CompoundEdit itself should not be died.

      Methods undo(), redo() does not mention call to super too. But in this case the overriden methods undo(), redo() contain the following
        "Override should begin with a call to super".
      For method die() there is no such information.

      It will be useful to mention call to super in the description of the CompoundEdit.die() method. Possibly it would not be out of place to do this for undo(), redo() methods too.
      ###@###.### 2005-2-18 16:45:26 GMT

            peterz Peter Zhelezniakov
            aglasman Alexander Glasman (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Imported:
              Indexed: