Skip to content

Commit 1710b66

Browse files
committed
C#/Java: Some minor variable name changes and QL Doc updates.
1 parent 4298024 commit 1710b66

File tree

4 files changed

+10
-10
lines changed

4 files changed

+10
-10
lines changed

csharp/ql/src/utils/model-generator/CaptureSourceModels.ql

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,6 @@
77
private import internal.ModelGeneratorUtils
88
private import internal.CaptureModels
99

10-
from TargetApi api, string sink
11-
where sink = captureSource(api)
12-
select sink order by sink
10+
from TargetApi api, string source
11+
where source = captureSource(api)
12+
select source order by source

csharp/ql/src/utils/model-generator/internal/ModelGeneratorUtilsSpecific.qll

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ private string parameterAccess(Parameter p) {
4141
}
4242

4343
/**
44-
* Gets the model string representation of the parameter node `p`.
44+
* Gets the CSV string representation of the parameter node `p`.
4545
*/
4646
string parameterNodeAsInput(DataFlow::ParameterNode p) {
4747
result = parameterAccess(p.asParameter())
@@ -55,7 +55,7 @@ private Parameter getParameter(ReturnNodeExt node, ParameterPosition pos) {
5555
}
5656

5757
/**
58-
* Gets the model string represention of the the return node `node`.
58+
* Gets the CSV string represention of the the return node `node`.
5959
*/
6060
string returnNodeAsOutput(ReturnNodeExt node) {
6161
if node.getKind() instanceof ValueReturnKind

java/ql/src/utils/model-generator/CaptureSourceModels.ql

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,6 @@
77
private import internal.ModelGeneratorUtils
88
private import internal.CaptureModels
99

10-
from TargetApi api, string sink
11-
where sink = captureSource(api)
12-
select sink order by sink
10+
from TargetApi api, string source
11+
where source = captureSource(api)
12+
select source order by source

java/ql/src/utils/model-generator/internal/ModelGeneratorUtilsSpecific.qll

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -136,7 +136,7 @@ private string parameterAccess(Parameter p) {
136136
}
137137

138138
/**
139-
* Gets the model string representation of the parameter node `p`.
139+
* Gets the CSV string representation of the parameter node `p`.
140140
*/
141141
string parameterNodeAsInput(DataFlow::ParameterNode p) {
142142
result = parameterAccess(p.asParameter())
@@ -145,7 +145,7 @@ string parameterNodeAsInput(DataFlow::ParameterNode p) {
145145
}
146146

147147
/**
148-
* Gets the model string represention of the the return node `node`.
148+
* Gets the CSV string represention of the the return node `node`.
149149
*/
150150
string returnNodeAsOutput(ReturnNodeExt node) {
151151
if node.getKind() instanceof ValueReturnKind

0 commit comments

Comments
 (0)