Skip to content

Commit

Permalink
remove unused variable
Browse files Browse the repository at this point in the history
  • Loading branch information
jrmartino committed Nov 15, 2017
1 parent 93d742d commit 9321ac9
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down Expand Up @@ -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.
Expand Down

0 comments on commit 9321ac9

Please sign in to comment.