diff --git a/core/src/main/java/info/rmapproject/core/idservice/HttpArkIdService.java b/core/src/main/java/info/rmapproject/core/idservice/HttpArkIdService.java index ca304867..0fbd289c 100644 --- a/core/src/main/java/info/rmapproject/core/idservice/HttpArkIdService.java +++ b/core/src/main/java/info/rmapproject/core/idservice/HttpArkIdService.java @@ -120,7 +120,6 @@ public URI createId() throws Exception { } private synchronized String getEzid() throws Exception { - String id; //if we are out of IDs, let's get some more from the EZID service endpoint if(ezids.size() < 1){ if(!replenishingCache) { @@ -181,7 +180,7 @@ private void getMoreEzids() { client.shutdown(); replenishingCache = false; } - + shouldRetry = ((retryCounter < maxRetryAttempts) && (ezids.size() == 0)); //WAIT FOR 5 SECS BEFORE RE-TRYING TO OVERCOME TEMPORARY NETWORK FAILURES //OR THE EZID SERVER BEING BUSY SERVICING ANOTHER REQUEST.