Skip to content

Commit 8790df7

Browse files
committed
Style fixes
1 parent f6eb83f commit 8790df7

File tree

1 file changed

+9
-9
lines changed

1 file changed

+9
-9
lines changed

java/ql/lib/semmle/code/java/frameworks/MyBatis.qll

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -105,8 +105,8 @@ class TypeParam extends Interface {
105105
TypeParam() { this.hasQualifiedName("org.apache.ibatis.annotations", "Param") }
106106
}
107107

108-
private class MyBatisAbstractSQL extends RefType {
109-
MyBatisAbstractSQL() { this.hasQualifiedName("org.apache.ibatis.jdbc", "AbstractSQL") }
108+
private class MyBatisAbstractSql extends RefType {
109+
MyBatisAbstractSql() { this.hasQualifiedName("org.apache.ibatis.jdbc", "AbstractSQL") }
110110
}
111111

112112
private class MyBatisProvider extends RefType {
@@ -116,12 +116,12 @@ private class MyBatisProvider extends RefType {
116116
}
117117
}
118118

119-
private class MyBatisAbstractSQLMethod extends Method {
119+
private class MyBatisAbstractSqlMethod extends Method {
120120
string taintedArgs;
121121
string signature;
122122

123-
MyBatisAbstractSQLMethod() {
124-
this.getDeclaringType().getSourceDeclaration() instanceof MyBatisAbstractSQL and
123+
MyBatisAbstractSqlMethod() {
124+
this.getDeclaringType().getSourceDeclaration() instanceof MyBatisAbstractSql and
125125
(
126126
this.hasName([
127127
"UPDATE", "SET", "INSERT_INTO", "SELECT", "OFFSET_ROWS", "LIMIT", "OFFSET",
@@ -183,15 +183,15 @@ private class MyBatisProviderStep extends TaintTracking::AdditionalValueStep {
183183
}
184184
}
185185

186-
private class MyBatisAbstractSQLToStringStep extends SummaryModelCsv {
186+
private class MyBatisAbstractSqlToStringStep extends SummaryModelCsv {
187187
override predicate row(string row) {
188-
row = ["org.apache.ibatis.jdbc;AbstractSQL;true;toString;;;Argument[-1];ReturnValue;taint"]
188+
row = "org.apache.ibatis.jdbc;AbstractSQL;true;toString;;;Argument[-1];ReturnValue;taint"
189189
}
190190
}
191191

192-
private class MyBatisAbstractSQLMethodsStep extends SummaryModelCsv {
192+
private class MyBatisAbstractSqlMethodsStep extends SummaryModelCsv {
193193
override predicate row(string row) {
194-
exists(MyBatisAbstractSQLMethod m |
194+
exists(MyBatisAbstractSqlMethod m |
195195
row =
196196
"org.apache.ibatis.jdbc;AbstractSQL;true;" + m.getName() + ";(" + m.getCsvSignature() +
197197
");;" + m.getTaintedArgs() + ";Argument[-1];taint"

0 commit comments

Comments
 (0)