We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 176c4e8 + 0ccb5b8 commit 953d08bCopy full SHA for 953d08b
1 file changed
experimental/types/src/main/java/io/serverlessworkflow/api/types/func/UntilPredicate.java
@@ -24,13 +24,13 @@ public class UntilPredicate extends Until {
24
private Predicate<?> predicate;
25
private Optional<Class<?>> predicateClass;
26
27
- public <T> Until withFunction(Predicate<T> predicate) {
+ public <T> UntilPredicate withPredicate(Predicate<T> predicate) {
28
this.predicate = predicate;
29
this.predicateClass = Optional.empty();
30
return this;
31
}
32
33
- public <T> Until withFunction(Predicate<T> predicate, Class<T> clazz) {
+ public <T> UntilPredicate withPredicate(Predicate<T> predicate, Class<T> clazz) {
34
35
this.predicateClass = Optional.ofNullable(clazz);
36
0 commit comments