Skip to content

Commit 0ccb5b8

Browse files
committed
Renaming function to predicate
Signed-off-by: fjtirado <[email protected]>
1 parent 176c4e8 commit 0ccb5b8

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

experimental/types/src/main/java/io/serverlessworkflow/api/types/func/UntilPredicate.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,13 +24,13 @@ public class UntilPredicate extends Until {
2424
private Predicate<?> predicate;
2525
private Optional<Class<?>> predicateClass;
2626

27-
public <T> Until withFunction(Predicate<T> predicate) {
27+
public <T> UntilPredicate withPredicate(Predicate<T> predicate) {
2828
this.predicate = predicate;
2929
this.predicateClass = Optional.empty();
3030
return this;
3131
}
3232

33-
public <T> Until withFunction(Predicate<T> predicate, Class<T> clazz) {
33+
public <T> UntilPredicate withPredicate(Predicate<T> predicate, Class<T> clazz) {
3434
this.predicate = predicate;
3535
this.predicateClass = Optional.ofNullable(clazz);
3636
return this;

0 commit comments

Comments
 (0)