mirror of
https://github.com/github/codeql.git
synced 2026-04-29 18:55:14 +02:00
rename all upper-case variables to start with a lower-case letter
This commit is contained in:
@@ -55,7 +55,7 @@ class JaxRsTest extends InlineExpectationsTest {
|
||||
or
|
||||
tag = "ResourceMethodOnResourceClass" and
|
||||
exists(JaxRsResourceMethod resourceMethod |
|
||||
resourceMethod = any(JaxRsResourceClass ResourceClass).getAResourceMethod()
|
||||
resourceMethod = any(JaxRsResourceClass resourceClass).getAResourceMethod()
|
||||
|
|
||||
resourceMethod.getLocation() = location and
|
||||
element = resourceMethod.toString() and
|
||||
|
||||
@@ -2,8 +2,8 @@ import semmle.code.java.Type
|
||||
|
||||
predicate typeIsInCU(Type tpe, CompilationUnit cu) { tpe.getCompilationUnit() = cu }
|
||||
|
||||
from Type tpe, CompilationUnit Ajava
|
||||
from Type tpe, CompilationUnit aJava
|
||||
where
|
||||
Ajava.hasName("A") and
|
||||
typeIsInCU(tpe, Ajava)
|
||||
aJava.hasName("A") and
|
||||
typeIsInCU(tpe, aJava)
|
||||
select tpe
|
||||
|
||||
Reference in New Issue
Block a user