Skip to content

Commit 46933ef

Browse files
hvitvedaschackmull
authored andcommitted
Java: Autoformat
1 parent d79eaff commit 46933ef

File tree

2 files changed

+5
-10
lines changed

2 files changed

+5
-10
lines changed

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

Lines changed: 3 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1668,11 +1668,8 @@ module PathGraph {
16681668
*/
16691669
private class PathNodeMid extends PathNode, TPathNodeMid {
16701670
Node node;
1671-
16721671
CallContext cc;
1673-
16741672
AccessPath ap;
1675-
16761673
Configuration config;
16771674

16781675
PathNodeMid() { this = TPathNodeMid(node, cc, ap, config) }
@@ -1718,7 +1715,6 @@ private class PathNodeMid extends PathNode, TPathNodeMid {
17181715
*/
17191716
private class PathNodeSink extends PathNode, TPathNodeSink {
17201717
Node node;
1721-
17221718
Configuration config;
17231719

17241720
PathNodeSink() { this = TPathNodeSink(node, config) }
@@ -1746,7 +1742,8 @@ private predicate pathStep(PathNodeMid mid, Node node, CallContext cc, AccessPat
17461742
cc = mid.getCallContext() and
17471743
mid.getAp() instanceof AccessPathNil and
17481744
ap = node.(AccessPathNilNode).getAp()
1749-
) or
1745+
)
1746+
or
17501747
not isUnreachableInCall(node, cc.(CallContextSpecificCall).getCall()) and
17511748
(
17521749
jumpStep(mid.getNode(), node, mid.getConfiguration()) and
@@ -2192,11 +2189,8 @@ private module FlowExploration {
21922189

21932190
private class PartialPathNodePriv extends PartialPathNode {
21942191
Node node;
2195-
21962192
CallContext cc;
2197-
21982193
PartialAccessPath ap;
2199-
22002194
Configuration config;
22012195

22022196
PartialPathNodePriv() { this = TPartialPathNodeMk(node, cc, ap, config) }
@@ -2461,6 +2455,7 @@ private module FlowExploration {
24612455
)
24622456
}
24632457
}
2458+
24642459
import FlowExploration
24652460

24662461
private predicate partialFlow(

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -581,7 +581,8 @@ private module ImplCommon {
581581
*/
582582
cached
583583
predicate recordDataFlowCallSite(DataFlowCall call, DataFlowCallable callable) {
584-
reducedViableImplInCallContext(_, callable, call) or
584+
reducedViableImplInCallContext(_, callable, call)
585+
or
585586
exists(Node n | n.getEnclosingCallable() = callable | isUnreachableInCall(n, call))
586587
}
587588

@@ -709,7 +710,6 @@ private module ImplCommon {
709710
/** A callable tagged with a relevant return kind. */
710711
class ReturnPosition extends TReturnPosition0 {
711712
private DataFlowCallable c;
712-
713713
private ReturnKind kind;
714714

715715
ReturnPosition() { this = TReturnPosition0(c, kind) }

0 commit comments

Comments
 (0)