Skip to content

Commit

Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
refactor: ChangeCollector uses setVisitCompilationUnitContent
Browse files Browse the repository at this point in the history
pvojtechovsky committed Nov 29, 2018
1 parent e6b1b3e commit 1760c98
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/main/java/spoon/support/modelobs/ChangeCollector.java
Original file line number Diff line number Diff line change
@@ -138,6 +138,9 @@ public void exit(CtElement element) {
}

private static class Scanner extends EarlyTerminatingScanner<Void> {
Scanner() {
setVisitCompilationUnitContent(true);
}
CtRole getScannedRole() {
return scannedRole;
}

0 comments on commit 1760c98

Please sign in to comment.