Skip to content

Commit c243e03

Browse files
committed
Lang3 StrBuilder: fix typo and coding style
1 parent 10112c5 commit c243e03

File tree

1 file changed

+2
-2
lines changed
  • java/ql/src/semmle/code/java/frameworks/apache

1 file changed

+2
-2
lines changed

java/ql/src/semmle/code/java/frameworks/apache/Lang.qll

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -144,7 +144,7 @@ private class ApacheStrBuilderTaintingMethod extends ApacheStrBuilderMethod, Tai
144144
}
145145

146146
private predicate consumesTaintFromAllArgs() {
147-
// Specifically the append[ln](String, Object...) overloads also consume taint from its other arguments:
147+
// Specifically the append[ln](String, Object...) overloads also consume taint from their other arguments:
148148
this.getName() in ["appendAll", "appendWithSeparators"]
149149
or
150150
this.getName() = ["append", "appendln"] and this.getAParameter().isVarargs()
@@ -167,7 +167,7 @@ private class ApacheStrBuilderTaintingMethod extends ApacheStrBuilderMethod, Tai
167167
else fromArg = 1
168168
)
169169
or
170-
consumesTaintFromAllArgs() and fromArg in [0 .. this.getNumberOfParameters() - 1]
170+
this.consumesTaintFromAllArgs() and fromArg in [0 .. this.getNumberOfParameters() - 1]
171171
)
172172
}
173173
}

0 commit comments

Comments
 (0)