Skip to content

Commit

Permalink
refactor: ChangeCollector uses setVisitCompilationUnitContent
Browse files Browse the repository at this point in the history
  • Loading branch information
pvojtechovsky committed Nov 29, 2018
1 parent 6534ccf commit 009d99d
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
Expand Up @@ -138,6 +138,9 @@ public void exit(CtElement element) {
}

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

0 comments on commit 009d99d

Please sign in to comment.