Skip to content
Permalink
Browse files

[ci] Add comment around visited classes check for clarity

  • Loading branch information
hazendaz committed Jan 1, 2020
1 parent 4daf32a commit dc122cba5fa29a21a758b63fa537385670979cd3
Showing with 2 additions and 0 deletions.
  1. +2 −0 src/main/java/com/mebigfatguy/fbcontrib/collect/CollectStatistics.java
@@ -289,6 +289,7 @@ private boolean isAssociationedWithAnnotations(Method m) {
try {
for (JavaClass inf : cls.getInterfaces()) {
String infName = inf.getClassName();
// If 'infName' exists in visitedClasses, this check will be 'false'
if (visitedClasses.add(infName)) {

for (Method m : inf.getMethods()) {
@@ -299,6 +300,7 @@ private boolean isAssociationedWithAnnotations(Method m) {

for (JavaClass parent : cls.getSuperClasses()) {
String clsName = parent.getClassName();
// If 'clsName' exists in visitedClasses, this check will be 'false'
if (visitedClasses.add(clsName)) {

if (!Values.DOTTED_JAVA_LANG_OBJECT.equals(parent.getClassName())) {

0 comments on commit dc122cb

Please sign in to comment.
You can’t perform that action at this time.