Skip to content

Commit 53de798

Browse files
I guess javafmt thinks differently..
1 parent c26a110 commit 53de798

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

semanticdb-javac/src/main/java/com/sourcegraph/semanticdb_javac/SemanticdbVisitor.java

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -362,7 +362,8 @@ private void resolveNewClassTree(NewClassTree node, TreePath treePath) {
362362
// More complex case, where the type is annotated: `new @TypeParameters String()`
363363
else if (node.getIdentifier().getKind() == com.sun.source.tree.Tree.Kind.ANNOTATED_TYPE) {
364364
AnnotatedTypeTree annotatedTypeTree = (AnnotatedTypeTree) node.getIdentifier();
365-
if (annotatedTypeTree.getUnderlyingType().getKind() == com.sun.source.tree.Tree.Kind.IDENTIFIER) {
365+
if (annotatedTypeTree.getUnderlyingType().getKind()
366+
== com.sun.source.tree.Tree.Kind.IDENTIFIER) {
366367
IdentifierTree ident = (IdentifierTree) annotatedTypeTree.getUnderlyingType();
367368
emitSymbolOccurrence(
368369
sym, ident, ident.getName(), Role.REFERENCE, CompilerRange.FROM_TEXT_SEARCH);

0 commit comments

Comments
 (0)