Java: Fix ratpack flow.

This commit is contained in:
Anders Schack-Mulligen
2023-06-19 13:06:33 +02:00
parent f4a05c183b
commit 70bef64e2a
2 changed files with 4 additions and 3 deletions

View File

@@ -361,13 +361,13 @@ class Resource {
Promise
.value(tainted)
.nextOp(value -> Operation.of(() -> {
sink(value); // MISSING: $hasTaintFlow
sink(value); //$hasTaintFlow
}))
.nextOpIf(value -> {
sink(value); //$hasTaintFlow
return true;
}, value -> Operation.of(() -> {
sink(value); // MISSING: $hasTaintFlow
sink(value); //$hasTaintFlow
}))
.then(value -> {
sink(value); //$hasTaintFlow
@@ -379,7 +379,7 @@ class Resource {
Promise
.value(tainted)
.flatOp(value -> Operation.of(() -> {
sink(value); // MISSING: $hasTaintFlow
sink(value); //$hasTaintFlow
}));
}