Issue 7530: The operation allPredecessors (ocl2-rtf) Source: Klasse Objecten (Dr. Jos Warmer, j.warmer(at)klasse.nl) Nature: Uncategorized Issue Severity: Summary: 22. -- [1] The operation allPredecessors returns the collection of all snapshots -- before a snapshot, allSuccessors returns the collection of all snapshots after -- a snapshot. context LocalSnapshot def: allPredecessors() : Sequence(LocalSnapshot) = if pred->notEmpty then pred->union(pred.allPredecessors()) else Sequence {} endif def: allSuccessors() : Sequence(LocalSnapshot) = if succ->notEmpty then succ->union(succ.allSuccessors()) else Sequence {} endif ==> ’notEmpty’ should be ’notEmpty()’ (twice) Resolution: Revised Text: Actions taken: June 10, 2004: received issue Discussion: End of Annotations:===== s is issue # 7530 The operation allPredecessors 22. -- [1] The operation allPredecessors returns the collection of all snapshots -- before a snapshot, allSuccessors returns the collection of all snapshots after -- a snapshot. context LocalSnapshot def: allPredecessors() : Sequence(LocalSnapshot) = if pred->notEmpty then pred->union(pred.allPredecessors()) else Sequence {} endif def: allSuccessors() : Sequence(LocalSnapshot) = if succ->notEmpty then succ->union(succ.allSuccessors()) else Sequence {} endif ==> .notEmpty. should be .notEmpty(). (twice)