mirror of
https://github.com/github/codeql.git
synced 2026-04-26 17:25:19 +02:00
update cs/useless-tostring-call to match java
This commit is contained in:
@@ -18,4 +18,4 @@ from MethodCall mc
|
||||
where
|
||||
mc instanceof ImplicitToStringExpr and
|
||||
mc.getTarget() instanceof ToStringMethod
|
||||
select mc, "Redundant call to 'ToString'."
|
||||
select mc, "Redundant call to 'ToString' on a String object."
|
||||
|
||||
Reference in New Issue
Block a user