rename all upper-case variables to start with a lower-case letter

This commit is contained in:
Erik Krogh Kristensen
2022-03-11 12:28:00 +01:00
parent 4f0d4ecf6e
commit 83f26eb833
4 changed files with 11 additions and 11 deletions

View File

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

View File

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