From 7696a5956a8d28a0015ef028ac0225fbaddf6c4d Mon Sep 17 00:00:00 2001 From: Florian Reimair Date: Tue, 11 Aug 2015 11:54:15 +0200 Subject: approved some more java changes --- .../eu/stork/peps/auth/commons/STORKAttrQueryRequest.java | 15 +-------------- 1 file changed, 1 insertion(+), 14 deletions(-) (limited to 'id/server/stork2-commons/src/main/java/eu/stork/peps/auth/commons/STORKAttrQueryRequest.java') diff --git a/id/server/stork2-commons/src/main/java/eu/stork/peps/auth/commons/STORKAttrQueryRequest.java b/id/server/stork2-commons/src/main/java/eu/stork/peps/auth/commons/STORKAttrQueryRequest.java index 566817747..33ae4c743 100644 --- a/id/server/stork2-commons/src/main/java/eu/stork/peps/auth/commons/STORKAttrQueryRequest.java +++ b/id/server/stork2-commons/src/main/java/eu/stork/peps/auth/commons/STORKAttrQueryRequest.java @@ -2,18 +2,11 @@ package eu.stork.peps.auth.commons; import java.io.Serializable; -import org.apache.log4j.Logger; - public class STORKAttrQueryRequest implements Serializable, Cloneable { /** The Constant serialVersionUID. */ private static final long serialVersionUID = 4778480781609392750L; - /** - * Logger object. - */ - private static final Logger LOG = Logger.getLogger(STORKAttrQueryRequest.class.getName()); - /** The samlId. */ private String samlId; @@ -290,13 +283,7 @@ public class STORKAttrQueryRequest implements Serializable, Cloneable { * @see IPersonalAttributeList */ public IPersonalAttributeList getPersonalAttributeList() { - IPersonalAttributeList personnalAttributeList = null; - try { - personnalAttributeList = (IPersonalAttributeList) attributeList.clone(); - } catch (CloneNotSupportedException e1) { - LOG.trace("[PersonalAttribute] Nothing to do."); - } - return personnalAttributeList; + return (IPersonalAttributeList) attributeList.clone(); } /** -- cgit v1.2.3