Remvoe error in moving code over
This commit is contained in:
parent
cd1a4154c1
commit
040d09cfa6
|
@ -397,9 +397,8 @@ public abstract class BaseTransactionProcessor {
|
||||||
List<RetriableBundleTask> getCalls = new ArrayList<>();
|
List<RetriableBundleTask> getCalls = new ArrayList<>();
|
||||||
List<RetriableBundleTask> nonGetCalls = new ArrayList<>();
|
List<RetriableBundleTask> nonGetCalls = new ArrayList<>();
|
||||||
|
|
||||||
long getEntriesSize = requestEntries.stream().filter(entry -> myVersionAdapter.getEntryRequestVerb(myContext, entry).equalsIgnoreCase("GET")).count();
|
CountDownLatch completionLatch = new CountDownLatch(requestEntriesSize);
|
||||||
CountDownLatch completionLatch = new CountDownLatch((int) getEntriesSize);
|
for (int i=0; i< requestEntriesSize ; i++ ) {
|
||||||
for (int i=0; i<requestEntriesSize ; i++ ) {
|
|
||||||
IBase nextRequestEntry = requestEntries.get(i);
|
IBase nextRequestEntry = requestEntries.get(i);
|
||||||
RetriableBundleTask retriableBundleTask = new RetriableBundleTask(completionLatch, theRequestDetails, responseMap, i, nextRequestEntry, theNestedMode);
|
RetriableBundleTask retriableBundleTask = new RetriableBundleTask(completionLatch, theRequestDetails, responseMap, i, nextRequestEntry, theNestedMode);
|
||||||
if (myVersionAdapter.getEntryRequestVerb(myContext, nextRequestEntry).equalsIgnoreCase("GET")) {
|
if (myVersionAdapter.getEntryRequestVerb(myContext, nextRequestEntry).equalsIgnoreCase("GET")) {
|
||||||
|
|
Loading…
Reference in New Issue