Skip to content

Commit 5dddc48

Browse files
committed
autoformat
1 parent adcb90a commit 5dddc48

File tree

2 files changed

+9
-4
lines changed

2 files changed

+9
-4
lines changed

java/ql/src/utils/FlowTestCase.qll

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -269,11 +269,14 @@ class TestCase extends TTestCase {
269269
SupportMethod getASupportMethod() {
270270
exists(SummaryComponentStack s | s = input.drop(_) and s.tail() != baseInput |
271271
result = SupportMethod::genMethodForContent(s)
272-
) or
272+
)
273+
or
273274
exists(SummaryComponentStack s | s = input.drop(_) and s.tail() = baseInput |
274275
result = SupportMethod::genMethodFor(this.getInputType(), s)
275-
) or
276-
result = SupportMethod::getMethodFor(this.getOutputType(), output) or
276+
)
277+
or
278+
result = SupportMethod::getMethodFor(this.getOutputType(), output)
279+
or
277280
result = SupportMethod::getMethodForContent(output.tail().drop(_))
278281
}
279282

java/ql/src/utils/FlowTestCaseSupportMethods.qll

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -389,6 +389,8 @@ private class ArrayGenMethod extends GenMethod {
389389

390390
bindingset[arg]
391391
override string getCall(string arg) {
392-
result = "new " + getShortNameIfPossible(type) + "{" + getConvertExprIfNotObject(type.getComponentType()) + arg + "}"
392+
result =
393+
"new " + getShortNameIfPossible(type) + "{" +
394+
getConvertExprIfNotObject(type.getComponentType()) + arg + "}"
393395
}
394396
}

0 commit comments

Comments
 (0)