Skip to content

Commit

Permalink
Don't visit null (typetools#6933)
Browse files Browse the repository at this point in the history
  • Loading branch information
mernst authored Dec 18, 2024
1 parent 0304c3c commit af87b07
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -390,8 +390,9 @@ public String visitArray(AnnotatedArrayType type, Set<AnnotatedTypeMirror> visit
if (!(component instanceof AnnotatedArrayType)) {
if (component == null) {
sb.insert(0, "/*Not Initialized*/");
} else {
sb.insert(0, visit(component, visiting));
}
sb.insert(0, visit(component, visiting));
break;
}
array = (AnnotatedArrayType) component;
Expand Down

0 comments on commit af87b07

Please sign in to comment.