Skip to content

Commit 54268f4

Browse files
committed
update java/static-array to match csharp
1 parent 8899c1b commit 54268f4

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

  • java/ql/src/Violations of Best Practice/Implementation Hiding

java/ql/src/Violations of Best Practice/Implementation Hiding/StaticArray.ql

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,4 +41,4 @@ where
4141
f.getType() instanceof Array and
4242
f.fromSource() and
4343
forall(AssignExpr a | a.getDest() = f.getAnAccess() | nonEmptyArrayLiteralOrNull(a.getSource()))
44-
select f, "The array constant " + f.getName() + " is vulnerable to mutation."
44+
select f, "The array constant '" + f.getName() + "' is vulnerable to mutation."

0 commit comments

Comments
 (0)