Skip to content

Commit d258a1c

Browse files
committed
C#/Java: Some light re-factoring.
1 parent b17a716 commit d258a1c

File tree

9 files changed

+5
-7
lines changed

9 files changed

+5
-7
lines changed

csharp/ql/src/utils/modelgenerator/CaptureDiscardedSummaryModels.ql

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66

77
import semmle.code.csharp.dataflow.internal.FlowSummaryImpl as FlowSummaryImpl
88
import internal.CaptureModels
9-
import internal.CaptureSummaryFlow
9+
import internal.CaptureSummaryFlowQuery
1010

1111
from DataFlowTargetApi api, string flow
1212
where

csharp/ql/src/utils/modelgenerator/CaptureNeutralModels.ql

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88

99
import semmle.code.csharp.dataflow.internal.FlowSummaryImpl as FlowSummaryImpl
1010
import internal.CaptureModels
11-
import internal.CaptureSummaryFlow
11+
import internal.CaptureSummaryFlowQuery
1212

1313
from DataFlowTargetApi api, string noflow
1414
where

csharp/ql/src/utils/modelgenerator/CaptureSummaryModels.ql

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88

99
import semmle.code.csharp.dataflow.internal.FlowSummaryImpl as FlowSummaryImpl
1010
import internal.CaptureModels
11-
import internal.CaptureSummaryFlow
11+
import internal.CaptureSummaryFlowQuery
1212

1313
from DataFlowTargetApi api, string flow
1414
where flow = captureFlow(api) and not api.(FlowSummaryImpl::Public::SummarizedCallable).isManual()

csharp/ql/src/utils/modelgenerator/internal/CaptureModelsSpecific.qll

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,6 @@ private import dotnet
77
private import semmle.code.csharp.commons.Util as Util
88
private import semmle.code.csharp.commons.Collections as Collections
99
private import semmle.code.csharp.dataflow.internal.DataFlowDispatch
10-
private import semmle.code.csharp.frameworks.System as System
1110
private import semmle.code.csharp.frameworks.system.linq.Expressions
1211
import semmle.code.csharp.dataflow.ExternalFlow as ExternalFlow
1312
import semmle.code.csharp.dataflow.internal.DataFlowImplCommon as DataFlowImplCommon

java/ql/src/utils/modelgenerator/CaptureNeutralModels.ql

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
*/
88

99
import internal.CaptureModels
10-
import internal.CaptureSummaryFlow
10+
import internal.CaptureSummaryFlowQuery
1111

1212
from DataFlowTargetApi api, string noflow
1313
where noflow = captureNoFlow(api)

java/ql/src/utils/modelgenerator/CaptureSummaryModels.ql

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
*/
88

99
import internal.CaptureModels
10-
import internal.CaptureSummaryFlow
10+
import internal.CaptureSummaryFlowQuery
1111

1212
from DataFlowTargetApi api, string flow
1313
where flow = captureFlow(api)

java/ql/src/utils/modelgenerator/internal/CaptureModelsSpecific.qll

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@
33
*/
44

55
private import java as J
6-
private import semmle.code.java.dataflow.internal.DataFlowNodes
76
private import semmle.code.java.dataflow.internal.DataFlowPrivate
87
private import semmle.code.java.dataflow.internal.ContainerFlow as ContainerFlow
98
private import semmle.code.java.dataflow.DataFlow as Df

0 commit comments

Comments
 (0)