Skip to content

Commit

Permalink
java 8 style
Browse files Browse the repository at this point in the history
  • Loading branch information
chDame committed Oct 31, 2022
1 parent d905d94 commit 0029b2f
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
package io.camunda.operate.beta.model;

import java.util.Arrays;
import java.util.List;

public class FlowNodeInstanceQueryList {
Expand Down Expand Up @@ -28,7 +29,7 @@ public FlowNodeInstanceQueryList build() {
flowNodeInstanceQuery.setProcessInstanceId(processInstanceId);
flowNodeInstanceQuery.setTreePath(processInstanceId);
flowNodeInstanceQuery.setPageSize(100);
flowNodeInstanceQueryList.queries=List.of(flowNodeInstanceQuery);
flowNodeInstanceQueryList.queries=Arrays.asList(flowNodeInstanceQuery);
return flowNodeInstanceQueryList;
}
}
Expand Down

0 comments on commit 0029b2f

Please sign in to comment.