Skip to content

Commit 296e268

Browse files
hvitvedaschackmull
andauthored
Apply suggestions from code review
Co-authored-by: Anders Schack-Mulligen <[email protected]>
1 parent 68ea3e7 commit 296e268

File tree

2 files changed

+1
-2
lines changed
  • csharp/ql/lib/semmle/code/csharp/dataflow/internal
  • java/ql/test/library-tests/dataflow/callback-dispatch

2 files changed

+1
-2
lines changed

csharp/ql/lib/semmle/code/csharp/dataflow/internal/FlowSummaryImpl.qll

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -958,7 +958,6 @@ module Private {
958958

959959
query predicate edges(NodeOrCall a, NodeOrCall b, string key, string value) {
960960
key = "semmle.label" and
961-
edgesComponent(a, b, _) and
962961
value = strictconcat(string s | edgesComponent(a, b, s) | s, " / ")
963962
}
964963
}

java/ql/test/library-tests/dataflow/callback-dispatch/A.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -179,7 +179,7 @@ static void applyConsumer1Field1Field2(A a1, A a2, Consumer1 con) {
179179

180180
void foo3() {
181181
A a1 = new A();
182-
a1.field1 = source(1);
182+
a1.field1 = source(20);
183183
A a2 = new A();
184184
applyConsumer1Field1Field2(a1, a2, p -> {
185185
sink(p); // MISSING FLOW

0 commit comments

Comments
 (0)