void (Change c) { if (!myDoNotAddAnythingElseFromCurrentChangeSet && (c.affectsPath(myPath) || c.affectsProject(myProjectId))) { if (myPattern == null || c.affectsMatching(myPattern)) { myResult.add(myCurrentChangeSet); } } if (c instanceof StructuralChange) myPath = ((StructuralChange)c).revertPath(myPath); }