Skip to content
This repository was archived by the owner on Oct 21, 2025. It is now read-only.

Commit 781d777

Browse files
author
Tom Hüller
committed
Remove Debug
1 parent 3311697 commit 781d777

1 file changed

Lines changed: 2 additions & 18 deletions

File tree

  • bundles/org.dataflowanalysis.standalone/src/org/dataflowanalysis/standalone/analysis

bundles/org.dataflowanalysis.standalone/src/org/dataflowanalysis/standalone/analysis/Converter.java

Lines changed: 2 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -126,26 +126,10 @@ public static String convertToDFDandStringify(WebEditorDfd webEditorDfd, String
126126
}
127127

128128
private static List<AnalysisConstraint> parseConstraints(WebEditorDfd webEditorDfd) {
129-
/*return webEditorDfd.constraints().stream().map(it -> {
129+
return webEditorDfd.constraints().stream().map(it -> {
130130
return AnalysisConstraint.fromString(new StringView(it.constraint())).getResult();
131-
}).toList();*/
131+
}).toList();
132132

133-
var constraint = new ConstraintDSL()
134-
.ofData()
135-
.withLabel("Sensitivity", List.of("Personal"))
136-
.fromNode()
137-
.neverFlows()
138-
.toVertex()
139-
.withCharacteristic("Location", "nonEU")
140-
.create();
141-
System.out.println(constraint);
142-
constraint = AnalysisConstraint.fromString(new StringView(constraint.toString())).getResult();
143-
144-
logger.setLevel(Level.TRACE);
145-
146-
var list = new ArrayList<AnalysisConstraint>();
147-
list.add(constraint);
148-
return list;
149133
}
150134

151135
private static List<DSLResult> runAnalysis(DataFlowDiagramAndDictionary dfd, List<AnalysisConstraint> constraints) {

0 commit comments

Comments
 (0)