Skip to content

Commit e1278b8

Browse files
committed
fix: collectionFilterObject
1 parent 52576a7 commit e1278b8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

experimental/lambda/src/main/java/io/serverlessworkflow/impl/executors/func/JavaForExecutorBuilder.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ protected WorkflowValueResolver<Collection<?>> buildCollectionFilter() {
7171
private Object collectionFilterObject(ForTaskFunction taskFunctions) {
7272
return taskFunctions
7373
.getForClass()
74-
.map(forClass -> new TypedFunction(taskFunctions.getCollection(), forClass))
74+
.<Object>map(forClass -> new TypedFunction<>(taskFunctions.getCollection(), forClass))
7575
.orElse(taskFunctions.getCollection());
7676
}
7777
}

0 commit comments

Comments
 (0)