Skip to content

Commit

Permalink
Fix error that occurs when the indexer indexes CLASS files without su…
Browse files Browse the repository at this point in the history
…per class
  • Loading branch information
emmanue1 committed Apr 9, 2019
1 parent 0101f57 commit 15c2f61
Showing 1 changed file with 4 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -182,7 +182,10 @@ public ClassIndexer(
public void visit(int version, int access, String name, String signature, String superName, String[] interfaces) {
this.name = name;
typeDeclarationSet.add(name);
superTypeNameSet.add(superName);

if (superName != null) {
superTypeNameSet.add(superName);
}

if (interfaces != null) {
for (int i=interfaces.length-1; i>=0; i--) {
Expand Down

0 comments on commit 15c2f61

Please sign in to comment.