Skip to content

Commit 39528d7

Browse files
committed
removing unused code
Signed-off-by: Ricardo Zanini <ricardozanini@gmail.com>
1 parent e0e57bf commit 39528d7

1 file changed

Lines changed: 0 additions & 12 deletions

File tree

fluent/spec/src/main/java/io/serverlessworkflow/fluent/spec/dsl/BaseListenSpec.java

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -89,18 +89,6 @@ public final SELF one(Consumer<EVENT_FILTER> filter) {
8989
return self();
9090
}
9191

92-
/**
93-
* Applies the configured event consumption strategy to a raw builder. This is useful when the
94-
* strategy needs to be used outside of a listen task, such as in a workflow schedule.
95-
*/
96-
public final void acceptStrategyInto(LISTEN_TO toBuilder) {
97-
Objects.requireNonNull(strategyStep, "listening strategy must be set (all/any/one)");
98-
strategyStep.accept(toBuilder);
99-
if (untilStep != null) {
100-
untilStep.accept(toBuilder);
101-
}
102-
}
103-
10492
protected final void acceptInto(LISTEN_TASK listenTaskBuilder) {
10593
Objects.requireNonNull(strategyStep, "listening strategy must be set (all/any/one)");
10694
toInvoker.to(

0 commit comments

Comments
 (0)