Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 3507873 commit 48c37a2Copy full SHA for 48c37a2
2 files changed
java/ql/lib/semmle/code/java/deadcode/DeadCode.qll
@@ -274,7 +274,7 @@ class DeadMethod extends Callable {
274
275
class RootdefCallable extends Callable {
276
RootdefCallable() {
277
- this.fromSource() and
+ this.getFile().isJavaSourceFile() and
278
not this.(Method).overridesOrInstantiates(_)
279
}
280
java/ql/test/kotlin/query-tests/UselessParameter/UselessParameter.expected
@@ -1,3 +0,0 @@
1
-| Test.kt:11:8:11:18 | a | The parameter 'a' is never used. |
2
-| Test.kt:19:5:19:5 | <this> | The parameter '<this>' is never used. |
3
-| Test.kt:24:9:24:14 | a | The parameter 'a' is never used. |
0 commit comments