Skip to content

Commit fbdd5a1

Browse files
committed
Autoformat
1 parent c76a774 commit fbdd5a1

File tree

1 file changed

+3
-3
lines changed
  • java/ql/test/kotlin/library-tests/field-initializer-flow

1 file changed

+3
-3
lines changed

java/ql/test/kotlin/library-tests/field-initializer-flow/test.ql

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@ import java
22
import semmle.code.java.dataflow.DataFlow
33

44
class Config extends DataFlow::Configuration {
5-
65
Config() { this = "Config" }
76

87
override predicate isSource(DataFlow::Node n) {
@@ -12,10 +11,11 @@ class Config extends DataFlow::Configuration {
1211
override predicate isSink(DataFlow::Node n) {
1312
n.asExpr().(Argument).getCall().getCallee().getName() = "sink"
1413
}
15-
1614
}
1715

18-
query predicate isFinalField(Field f) { exists(FieldDeclaration f2 | f = f2.getAField()) and f.isFinal() }
16+
query predicate isFinalField(Field f) {
17+
exists(FieldDeclaration f2 | f = f2.getAField()) and f.isFinal()
18+
}
1919

2020
from DataFlow::Node source, DataFlow::Node sink
2121
where any(Config c).hasFlow(source, sink)

0 commit comments

Comments
 (0)