From 9b9a198d0c8a982af6d654edd81e757206aae384 Mon Sep 17 00:00:00 2001 From: Alessandro Pieve Date: Mon, 19 Sep 2016 14:02:52 +0000 Subject: [PATCH] git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/accounting/accounting-analytics@131491 82a268e6-3cf1-43bd-a215-b396298e98cf --- .../analytics/persistence/AccountingPersistenceQuery.java | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/src/main/java/org/gcube/accounting/analytics/persistence/AccountingPersistenceQuery.java b/src/main/java/org/gcube/accounting/analytics/persistence/AccountingPersistenceQuery.java index 8f0d3aa..bfc41ba 100644 --- a/src/main/java/org/gcube/accounting/analytics/persistence/AccountingPersistenceQuery.java +++ b/src/main/java/org/gcube/accounting/analytics/persistence/AccountingPersistenceQuery.java @@ -84,7 +84,6 @@ public class AccountingPersistenceQuery implements AccountingPersistenceBackendQ jsonObject.put(key, 0); } } - return jsonObject; } @@ -171,8 +170,8 @@ public class AccountingPersistenceQuery implements AccountingPersistenceBackendQ for(NumberedFilter nf : got.keySet()){ if(--count>=0 || limit<=0){ if(pad){ - padMap(got.get(nf), temporalConstraint); - + padMap(got.get(nf), temporalConstraint); + } }else{ if(firstRemovalKey==null){ @@ -279,7 +278,7 @@ public class AccountingPersistenceQuery implements AccountingPersistenceBackendQ @Override public JSONObject getUsageValue(Class> clz, TemporalConstraint temporalConstraint, Filter applicant) - throws Exception { + throws Exception { // TODO Auto-generated method stub return null; }