From 0029b2f6562f1a594a45dcc7652a00e172e171ae Mon Sep 17 00:00:00 2001 From: Christophe Date: Mon, 31 Oct 2022 09:41:06 +0100 Subject: [PATCH] java 8 style --- .../camunda/operate/beta/model/FlowNodeInstanceQueryList.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/main/java/io/camunda/operate/beta/model/FlowNodeInstanceQueryList.java b/src/main/java/io/camunda/operate/beta/model/FlowNodeInstanceQueryList.java index dd9d5f8..5580b4d 100644 --- a/src/main/java/io/camunda/operate/beta/model/FlowNodeInstanceQueryList.java +++ b/src/main/java/io/camunda/operate/beta/model/FlowNodeInstanceQueryList.java @@ -1,5 +1,6 @@ package io.camunda.operate.beta.model; +import java.util.Arrays; import java.util.List; public class FlowNodeInstanceQueryList { @@ -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; } }