Remvoe error in moving code over
@@ -397,8 +397,7 @@ public abstract class BaseTransactionProcessor {
List<RetriableBundleTask> getCalls = new ArrayList<>();
List<RetriableBundleTask> nonGetCalls = new ArrayList<>();
- long getEntriesSize = requestEntries.stream().filter(entry -> myVersionAdapter.getEntryRequestVerb(myContext, entry).equalsIgnoreCase("GET")).count();
- CountDownLatch completionLatch = new CountDownLatch((int) getEntriesSize);
+ CountDownLatch completionLatch = new CountDownLatch(requestEntriesSize);
for (int i=0; i< requestEntriesSize ; i++ ) {
IBase nextRequestEntry = requestEntries.get(i);
RetriableBundleTask retriableBundleTask = new RetriableBundleTask(completionLatch, theRequestDetails, responseMap, i, nextRequestEntry, theNestedMode);
