-
Bug
-
Resolution: Unresolved
-
P4
-
None
-
6
-
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
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