From 7ba6fecaf1bc00c3e21102d6ba5fb6c6fc5f3398 Mon Sep 17 00:00:00 2001 From: Thomas <> Date: Wed, 14 Apr 2021 14:53:57 +0200 Subject: some code optimization to reduce memory consumption --- .../at/gv/egiz/eaaf/core/impl/idp/AuthenticationData.java | 12 +++++------- 1 file changed, 5 insertions(+), 7 deletions(-) (limited to 'eaaf_core/src/main/java/at') diff --git a/eaaf_core/src/main/java/at/gv/egiz/eaaf/core/impl/idp/AuthenticationData.java b/eaaf_core/src/main/java/at/gv/egiz/eaaf/core/impl/idp/AuthenticationData.java index a8695885..00324a9a 100644 --- a/eaaf_core/src/main/java/at/gv/egiz/eaaf/core/impl/idp/AuthenticationData.java +++ b/eaaf_core/src/main/java/at/gv/egiz/eaaf/core/impl/idp/AuthenticationData.java @@ -27,15 +27,14 @@ import java.util.Date; import java.util.Map; import java.util.TimeZone; +import org.apache.commons.collections4.map.HashedMap; +import org.apache.commons.lang3.StringUtils; + import at.gv.egiz.eaaf.core.api.idp.IAuthData; import at.gv.egiz.eaaf.core.api.idp.auth.data.IIdentityLink; import at.gv.egiz.eaaf.core.exceptions.EaafStorageException; import at.gv.egiz.eaaf.core.impl.builder.BpkBuilder; - -import org.apache.commons.collections4.map.HashedMap; -import org.apache.commons.lang3.StringUtils; -import org.slf4j.Logger; -import org.slf4j.LoggerFactory; +import lombok.extern.slf4j.Slf4j; /** * Service-Provider specific authentication data. @@ -43,10 +42,9 @@ import org.slf4j.LoggerFactory; * @author tlenz * */ +@Slf4j public class AuthenticationData implements IAuthData, Serializable { - private static final Logger log = LoggerFactory.getLogger(AuthenticationData.class); - private static final long serialVersionUID = -1042697056735596866L; public static final String IDENTITY_LINK_DATE_FORMAT = "yyyy-MM-dd"; public static final String ISSUE_INSTANT_DATE_FORMAT = "yyyy-MM-dd'T'HH:mm:ss'Z'"; -- cgit v1.2.3