use of com.intellij.history.core.changes.ChangeVisitor in project intellij-community by JetBrains.
the class ByteContentRetriever method collectChanges.
@Override
protected Pair<String, List<ChangeSet>> collectChanges() {
final List<ChangeSet> result = new ArrayList<>();
myVcs.accept(new ChangeVisitor() {
@Override
public void begin(ChangeSet c) throws StopVisitingException {
if (c.affectsPath(myPath))
result.add(c);
}
});
return Pair.create(myPath, result);
}
Aggregations