Skip to content

Commit

Permalink
Fix a defect in CtScanner.visitCtAnnotation(): annotation values trav…
Browse files Browse the repository at this point in the history
…ersal should be delegated to scan(), fixes INRIA#603
  • Loading branch information
leventov committed Apr 22, 2016
1 parent 19fad0a commit fead4fb
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions src/main/java/spoon/reflect/visitor/CtScanner.java
Original file line number Diff line number Diff line change
Expand Up @@ -152,9 +152,7 @@ public <A extends Annotation> void visitCtAnnotation(
enter(annotation);
scan(annotation.getAnnotationType());
scan(annotation.getAnnotations());
for (Object o : annotation.getElementValues().values()) {
scan(o);
}
scan(annotation.getElementValues().values());
exit(annotation);
}

Expand Down

0 comments on commit fead4fb

Please sign in to comment.