Skip to content

Commit 635c202

Browse files
committed
Use ArgumentPosition instead of int
This matches what all of the other languages do.
1 parent 55c4643 commit 635c202

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

java/ql/lib/semmle/code/java/dataflow/internal/FlowSummaryImplSpecific.qll

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ class SummarizedCallableBase = FlowSummary::SummarizedCallableBase;
1717
DataFlowCallable inject(SummarizedCallable c) { result.asSummarizedCallable() = c }
1818

1919
/** Gets the parameter position of the instance parameter. */
20-
int instanceParameterPosition() { result = -1 }
20+
ArgumentPosition instanceParameterPosition() { result = -1 }
2121

2222
/** Gets the synthesized summary data-flow node for the given values. */
2323
Node summaryNode(SummarizedCallable c, SummaryNodeState state) { result = getSummaryNode(c, state) }

0 commit comments

Comments
 (0)