boolean (final FilePath path, final VcsRevisionNumber number, final List<? extends IncomingChangeListData> incomingData, final ReceivedChangeListTracker tracker) { boolean foundRevision = false; debug("Processing updated file " + path + ", revision " + number); for(IncomingChangeListData data: incomingData) { for(Change change: data.changeList.getChanges()) { ContentRevision afterRevision = change.getAfterRevision(); if (afterRevision != null && afterRevision.getFile().equals(path)) { int rc = number.compareTo(afterRevision.getRevisionNumber()); if (rc == 0) { foundRevision = true; } if (rc >= 0) { tracker.addChange(data.changeList, change); data.accountedChanges.add(change); } } } } debug(foundRevision ? "All changes for file found" : "Some of changes for file not found"); return !foundRevision; }