Skip to content

Commit aa07020

Browse files
committed
Java: Autoformat.
1 parent 94c625f commit aa07020

17 files changed

+18
-41
lines changed

java/ql/src/semmle/code/java/ControlFlowGraph.qll

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1203,6 +1203,7 @@ private module ControlFlowGraphImpl {
12031203
result = otherBranchSucc(n, branch)
12041204
}
12051205
}
1206+
12061207
private import ControlFlowGraphImpl
12071208

12081209
/** A control-flow node that branches based on a condition. */

java/ql/src/semmle/code/java/Conversions.qll

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,6 @@ class ReturnConversionSite extends ConversionSite {
8282
*/
8383
class InvocationConversionContext extends ConversionSite {
8484
Call c;
85-
8685
int index;
8786

8887
InvocationConversionContext() { this = c.getArgument(index) }

java/ql/src/semmle/code/java/Expr.qll

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1760,7 +1760,6 @@ private predicate hasInstantiation(RefType t) {
17601760
/** An argument to a call. */
17611761
class Argument extends Expr {
17621762
Call call;
1763-
17641763
int pos;
17651764

17661765
Argument() { call.getArgument(pos) = this }

java/ql/src/semmle/code/java/dataflow/RangeAnalysis.qll

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -101,6 +101,7 @@ private module RangeAnalysisCache {
101101
guard = boundFlowCond(_, _, _, _, _) or guard = eqFlowCond(_, _, _, _, _)
102102
}
103103
}
104+
104105
private import RangeAnalysisCache
105106
import RangeAnalysisPublic
106107

java/ql/src/semmle/code/java/dataflow/SSA.qll

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -205,6 +205,7 @@ private module TrackedVariablesImpl {
205205

206206
class TrackedField extends TrackedVar, SsaSourceField { }
207207
}
208+
208209
private import TrackedVariablesImpl
209210

210211
cached
@@ -808,6 +809,7 @@ private module SsaImpl {
808809
defUseRank(v, b2, 1, i2)
809810
}
810811
}
812+
811813
private import AdjacentUsesImpl
812814

813815
/**
@@ -868,6 +870,7 @@ private module SsaImpl {
868870
}
869871
}
870872
}
873+
871874
private import SsaImpl
872875
private import SsaDefReaches
873876
import SsaPublic

java/ql/src/semmle/code/java/dataflow/TypeFlow.qll

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -420,4 +420,5 @@ private module TypeFlowBounds {
420420
)
421421
}
422422
}
423+
423424
import TypeFlowBounds

java/ql/src/semmle/code/java/dataflow/internal/BaseSSA.qll

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -364,6 +364,7 @@ private module SsaImpl {
364364
defUseRank(v, b2, 1, i2)
365365
}
366366
}
367+
367368
private import AdjacentUsesImpl
368369

369370
/**
@@ -428,6 +429,7 @@ private module SsaImpl {
428429
}
429430
}
430431
}
432+
431433
private import SsaImpl
432434
private import SsaDefReaches
433435
import SsaPublic

java/ql/src/semmle/code/java/dataflow/internal/DataFlowDispatch.qll

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -188,4 +188,5 @@ private module DispatchImpl {
188188
reducedViableImplInReturn(result, ma)
189189
}
190190
}
191+
191192
import DispatchImpl

java/ql/src/semmle/code/java/dataflow/internal/DataFlowImpl.qll

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1613,11 +1613,8 @@ module PathGraph {
16131613
*/
16141614
private class PathNodeMid extends PathNode, TPathNodeMid {
16151615
Node node;
1616-
16171616
CallContext cc;
1618-
16191617
AccessPath ap;
1620-
16211618
Configuration config;
16221619

16231620
PathNodeMid() { this = TPathNodeMid(node, cc, ap, config) }
@@ -1680,7 +1677,6 @@ private class PathNodeSource extends PathNodeMid {
16801677
*/
16811678
private class PathNodeSink extends PathNode, TPathNodeSink {
16821679
Node node;
1683-
16841680
Configuration config;
16851681

16861682
PathNodeSink() { this = TPathNodeSink(node, config) }
@@ -2093,11 +2089,8 @@ private module FlowExploration {
20932089

20942090
private class PartialPathNodePriv extends PartialPathNode {
20952091
Node node;
2096-
20972092
CallContext cc;
2098-
20992093
AccessPath ap;
2100-
21012094
Configuration config;
21022095

21032096
PartialPathNodePriv() { this = TPartialPathNodeMk(node, cc, ap, config) }
@@ -2358,6 +2351,7 @@ private module FlowExploration {
23582351
)
23592352
}
23602353
}
2354+
23612355
import FlowExploration
23622356

23632357
private predicate partialFlow(

java/ql/src/semmle/code/java/dataflow/internal/DataFlowImpl2.qll

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1613,11 +1613,8 @@ module PathGraph {
16131613
*/
16141614
private class PathNodeMid extends PathNode, TPathNodeMid {
16151615
Node node;
1616-
16171616
CallContext cc;
1618-
16191617
AccessPath ap;
1620-
16211618
Configuration config;
16221619

16231620
PathNodeMid() { this = TPathNodeMid(node, cc, ap, config) }
@@ -1680,7 +1677,6 @@ private class PathNodeSource extends PathNodeMid {
16801677
*/
16811678
private class PathNodeSink extends PathNode, TPathNodeSink {
16821679
Node node;
1683-
16841680
Configuration config;
16851681

16861682
PathNodeSink() { this = TPathNodeSink(node, config) }
@@ -2093,11 +2089,8 @@ private module FlowExploration {
20932089

20942090
private class PartialPathNodePriv extends PartialPathNode {
20952091
Node node;
2096-
20972092
CallContext cc;
2098-
20992093
AccessPath ap;
2100-
21012094
Configuration config;
21022095

21032096
PartialPathNodePriv() { this = TPartialPathNodeMk(node, cc, ap, config) }
@@ -2358,6 +2351,7 @@ private module FlowExploration {
23582351
)
23592352
}
23602353
}
2354+
23612355
import FlowExploration
23622356

23632357
private predicate partialFlow(

0 commit comments

Comments
 (0)