mirror of
https://github.com/github/codeql.git
synced 2025-12-26 13:46:31 +01:00
patch upper-case acronyms to be PascalCase
This commit is contained in:
@@ -100,7 +100,7 @@ class SpringPureClass extends Class {
|
||||
// Setter method by autowiring, either in the XML or by annotation
|
||||
c = this.getAMethod().(SpringBeanAutowiredCallable)
|
||||
or
|
||||
c = this.getAMethod().(SpringBeanXMLAutowiredSetterMethod)
|
||||
c = this.getAMethod().(SpringBeanXmlAutowiredSetterMethod)
|
||||
)
|
||||
}
|
||||
}
|
||||
@@ -189,7 +189,7 @@ class LiveSpringBean extends SpringBean {
|
||||
)
|
||||
or
|
||||
// Injected by autowired specified in XML
|
||||
exists(SpringBeanXMLAutowiredSetterMethod setterMethod |
|
||||
exists(SpringBeanXmlAutowiredSetterMethod setterMethod |
|
||||
// The config method must be on a live bean
|
||||
setterMethod.getDeclaringType().(SpringBeanRefType).getSpringBean() instanceof
|
||||
LiveSpringBean
|
||||
|
||||
@@ -51,7 +51,7 @@ class SpringPropertyUseShortcut extends SpringProperty {
|
||||
}
|
||||
}
|
||||
|
||||
from SpringXMLElement springElement, string msg
|
||||
from SpringXmlElement springElement, string msg
|
||||
where
|
||||
exists(SpringConstructorArgUseShortcut cons | cons = springElement and msg = cons.getMessage())
|
||||
or
|
||||
|
||||
Reference in New Issue
Block a user