@@ -64,9 +64,9 @@ class ExecTaintConfiguration2 extends TaintTracking::Configuration {
64
64
class AssignToNonZeroIndex extends DataFlow:: Node {
65
65
AssignToNonZeroIndex ( ) {
66
66
exists ( AssignExpr assign , ArrayAccess access |
67
- assign .getDest ( ) = access and
68
- access .getIndexExpr ( ) .( IntegerLiteral ) .getValue ( ) != "0" and
69
- assign .getSource ( ) = this .asExpr ( )
67
+ assign .getDest ( ) = access and
68
+ access .getIndexExpr ( ) .( IntegerLiteral ) .getValue ( ) != "0" and
69
+ assign .getSource ( ) = this .asExpr ( )
70
70
)
71
71
}
72
72
}
@@ -75,8 +75,8 @@ class AssignToNonZeroIndex extends DataFlow::Node {
75
75
class ArrayInitAtNonZeroIndex extends DataFlow:: Node {
76
76
ArrayInitAtNonZeroIndex ( ) {
77
77
exists ( ArrayInit init , int index |
78
- init .getInit ( index ) = this .asExpr ( ) and
79
- index != 0
78
+ init .getInit ( index ) = this .asExpr ( ) and
79
+ index != 0
80
80
)
81
81
}
82
82
}
@@ -85,9 +85,9 @@ class ArrayInitAtNonZeroIndex extends DataFlow::Node {
85
85
class StreamConcatAtNonZeroIndex extends DataFlow:: Node {
86
86
StreamConcatAtNonZeroIndex ( ) {
87
87
exists ( MethodAccess call , int index |
88
- call .getMethod ( ) .getQualifiedName ( ) = "java.util.stream.Stream.concat" and
89
- call .getArgument ( index ) = this .asExpr ( ) and
90
- index != 0
88
+ call .getMethod ( ) .getQualifiedName ( ) = "java.util.stream.Stream.concat" and
89
+ call .getArgument ( index ) = this .asExpr ( ) and
90
+ index != 0
91
91
)
92
92
}
93
93
}
0 commit comments