mirror of
https://github.com/github/codeql.git
synced 2025-12-18 01:33:15 +01:00
update {rb/js/java}/unused-parameter to match python
This commit is contained in:
@@ -14,4 +14,4 @@ import semmle.code.java.deadcode.DeadCode
|
||||
|
||||
from RootdefCallable c
|
||||
where not c.whitelisted()
|
||||
select c.unusedParameter() as p, "The parameter " + p + " is unused."
|
||||
select c.unusedParameter() as p, "The parameter '" + c + "' is never used."
|
||||
|
||||
Reference in New Issue
Block a user