Skip to content

Commit b823ab5

Browse files
committed
Merge branch 'display_warning' of https://github.com/txiang61/checker-framework-inference into display_warning
2 parents d210933 + d7cadef commit b823ab5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/checkers/inference/VariableAnnotator.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1105,7 +1105,7 @@ private void annotateNewArray(AnnotatedTypeMirror type, Tree tree, int level, Tr
11051105

11061106
// Create a variable from an ASTPath
11071107
final TreePath pathToTree = inferenceTypeFactory.getPath(topLevelTree);
1108-
ASTRecord astRec = ASTPathUtil.getASTRecordForPath(inferenceTypeFactory, pathToTree).newArrayLevel(level);;
1108+
ASTRecord astRec = ASTPathUtil.getASTRecordForPath(inferenceTypeFactory, pathToTree).newArrayLevel(level);
11091109
replaceOrCreateEquivalentVarAnno(type, tree, new AstPathLocation(astRec));
11101110

11111111
} else if (!(tree.getKind() == Tree.Kind.NEW_ARRAY

0 commit comments

Comments
 (0)