From 8e527e03252c3afbe87725fbb586220973dbb92f Mon Sep 17 00:00:00 2001 From: Luca Frosini Date: Fri, 13 Nov 2015 10:43:39 +0000 Subject: [PATCH] Recoded the code redesign. Recoded the function which retrieve the AccountingPersistenceBackend class to use. git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/accounting/accounting-lib@120271 82a268e6-3cf1-43bd-a215-b396298e98cf --- .../persistence/AccountingPersistenceBackendFactory.java | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/main/java/org/gcube/accounting/persistence/AccountingPersistenceBackendFactory.java b/src/main/java/org/gcube/accounting/persistence/AccountingPersistenceBackendFactory.java index 5004bd2..998649e 100644 --- a/src/main/java/org/gcube/accounting/persistence/AccountingPersistenceBackendFactory.java +++ b/src/main/java/org/gcube/accounting/persistence/AccountingPersistenceBackendFactory.java @@ -132,8 +132,6 @@ public abstract class AccountingPersistenceBackendFactory { long now = Calendar.getInstance().getTimeInMillis(); Long lastCheckTimestamp = fallbackLastCheck.get(scope); if(lastCheckTimestamp <= (now + FALLBACK_RETRY_TIME)){ - // Setting persistence to null so that the - // AccountingPersistenceBackend is rechecked logger.debug("The {} for scope {} is {}. Is time to rediscover if there is another possibility.", AccountingPersistenceBackend.class.getSimpleName(), scope, persistence.getClass().getSimpleName());