diff --git a/hapi-fhir-storage/src/main/java/ca/uhn/fhir/jpa/dao/BaseTransactionProcessor.java b/hapi-fhir-storage/src/main/java/ca/uhn/fhir/jpa/dao/BaseTransactionProcessor.java index 2ded01a8341..efca7fb5346 100644 --- a/hapi-fhir-storage/src/main/java/ca/uhn/fhir/jpa/dao/BaseTransactionProcessor.java +++ b/hapi-fhir-storage/src/main/java/ca/uhn/fhir/jpa/dao/BaseTransactionProcessor.java @@ -397,9 +397,8 @@ public abstract class BaseTransactionProcessor { List getCalls = new ArrayList<>(); List nonGetCalls = new ArrayList<>(); - long getEntriesSize = requestEntries.stream().filter(entry -> myVersionAdapter.getEntryRequestVerb(myContext, entry).equalsIgnoreCase("GET")).count(); - CountDownLatch completionLatch = new CountDownLatch((int) getEntriesSize); - for (int i=0; i