We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 8899c1b commit 54268f4Copy full SHA for 54268f4
1 file changed
java/ql/src/Violations of Best Practice/Implementation Hiding/StaticArray.ql
@@ -41,4 +41,4 @@ where
41
f.getType() instanceof Array and
42
f.fromSource() and
43
forall(AssignExpr a | a.getDest() = f.getAnAccess() | nonEmptyArrayLiteralOrNull(a.getSource()))
44
-select f, "The array constant " + f.getName() + " is vulnerable to mutation."
+select f, "The array constant '" + f.getName() + "' is vulnerable to mutation."
0 commit comments