Skip to content

Commit ede1758

Browse files
smowtonaschackmull
andauthored
Amend NewClassExpr description
Co-authored-by: Anders Schack-Mulligen <[email protected]>
1 parent e3edea2 commit ede1758

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

java/ql/lib/semmle/code/java/Expr.qll

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1252,7 +1252,7 @@ class ClassInstanceExpr extends Expr, ConstructorCall, @classinstancexpr {
12521252
}
12531253

12541254
/**
1255-
* An explicit `new ClassName(...)` expression.
1255+
* An explicit `new TypeName(...)` expression.
12561256
*
12571257
* Note this does not include implicit instance creation such as lambda expressions
12581258
* or `instanceVar::methodName` references. To include those too, use `ClassInstanceExpr`.

0 commit comments

Comments
 (0)