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

CompoundEdit documentation inconsistencies

XMLWordPrintable

    • Cause Known
    • generic
    • generic

      The spec of CompoundEdit has some documentation inconsistencies.
      The following methods of CompoundEdit class:
        canUndo()
        canRedo()
        isSignificant()
        getPresentationName()
        getUndoPresentationName()
        getRedoPresentationName()
      override corresponding methods of AbstractUndoableEdit. But the return clause in the spec for them is taken from the ancestor class.

      For example:
      public boolean canUndo()
          Returns false if isInProgress or if super returns false.
          ....
      !!! Returns:
      !!! true if this edit is alive and hasBeenDone is true


      ###@###.### 2005-2-18 14:13:31 GMT

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

              Created:
              Updated:
              Imported:
              Indexed: