update cs/useless-tostring-call to match java

This commit is contained in:
erik-krogh
2022-08-11 15:53:01 +02:00
parent 49a3e208d7
commit b5f3cd7a55

View File

@@ -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."