diff --git a/src/test/java/api/support/fakes/FakePrintEventStatusModule.java b/src/test/java/api/support/fakes/FakePrintEventStatusModule.java index 470a6e5924..628fb2203c 100644 --- a/src/test/java/api/support/fakes/FakePrintEventStatusModule.java +++ b/src/test/java/api/support/fakes/FakePrintEventStatusModule.java @@ -29,7 +29,6 @@ public void register(Router router) { } private void handlePrintEventStatusRequest(RoutingContext routingContext) { - System.out.println("handlePrintEventStatusRequest **************"); var request = routingContext.body().asJsonObject(); var requestIds = request.getJsonArray("requestIds"); if (requestIds.isEmpty()) { @@ -58,7 +57,6 @@ private void handlePrintEventStatusRequest(RoutingContext routingContext) { throw new RuntimeException(e); } }); - Map> groupByRequestIdMap = new LinkedHashMap<>(); requestIds.forEach(requestId -> { var requestList = jsonObjectList.stream().filter(jsonObject -> @@ -66,13 +64,12 @@ private void handlePrintEventStatusRequest(RoutingContext routingContext) { .toList(); groupByRequestIdMap.put((String) requestId, requestList); }); - var jsonObjectResponse = new JsonObject(); var printEventStatusResponses = new ArrayList<>(); jsonObjectResponse.put("printEventsStatusResponses", printEventStatusResponses); requestIds.forEach(id -> { var requestDetail = groupByRequestIdMap.get(id); - if (requestDetail !=null && !requestDetail.isEmpty()) { + if (requestDetail != null && !requestDetail.isEmpty()) { var object = new JsonObject() .put("requestId", id) .put("count", requestDetail.size())