From f4392280e31f2bfefd172a640fe42fad8184650b Mon Sep 17 00:00:00 2001 From: Luca Frosini Date: Fri, 22 Sep 2017 13:16:04 +0000 Subject: [PATCH] fixed code git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/accounting/accounting-aggregator-se-plugin@154427 82a268e6-3cf1-43bd-a215-b396298e98cf --- .../gcube/accounting/aggregator/elaboration/Elaborator.java | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/main/java/org/gcube/accounting/aggregator/elaboration/Elaborator.java b/src/main/java/org/gcube/accounting/aggregator/elaboration/Elaborator.java index 13a1b7d..b93772d 100644 --- a/src/main/java/org/gcube/accounting/aggregator/elaboration/Elaborator.java +++ b/src/main/java/org/gcube/accounting/aggregator/elaboration/Elaborator.java @@ -120,9 +120,10 @@ public class Elaborator { DSMapper.getObjectMapper().writeValueAsString(aggregationStatus), Constant.UNIT_TO_SUBSTRACT_TO_CONSIDER_UNTERMINATED, Constant.CALENDAR_FIELD_TO_SUBSTRACT_TO_CONSIDER_UNTERMINATED==Calendar.HOUR_OF_DAY? "hours" : "unit"); return; - }else { - aggregationStatus.updateLastUpdateTime(true); } + + aggregationStatus.updateLastUpdateTime(true); + } String recordType = aggregationInfo.getRecordType();