From d14bb03500027b876d7a3d9e9a9487125005a39c Mon Sep 17 00:00:00 2001 From: tkellner Date: Fri, 18 Mar 2011 15:00:32 +0000 Subject: Remove unnecessary @SuppressWarnings git-svn-id: https://joinup.ec.europa.eu/svn/mocca/trunk@926 8a26b1a7-26f0-462f-b9ef-d0e30c41f5a4 --- .../main/java/at/gv/egiz/bku/accesscontroller/CommandParamChecker.java | 1 - bkucommon/src/main/java/at/gv/egiz/bku/binding/HttpUtil.java | 1 - bkucommon/src/main/java/at/gv/egiz/bku/conf/IAIKLogAdapterFactory.java | 1 - .../java/at/gv/egiz/bku/slcommands/impl/xsect/SignatureLocation.java | 1 - .../main/java/at/gv/egiz/bku/slcommands/impl/xsect/XSECTTransforms.java | 1 - bkucommon/src/test/java/moaspss/MOASPClient.java | 1 - 6 files changed, 6 deletions(-) (limited to 'bkucommon/src') diff --git a/bkucommon/src/main/java/at/gv/egiz/bku/accesscontroller/CommandParamChecker.java b/bkucommon/src/main/java/at/gv/egiz/bku/accesscontroller/CommandParamChecker.java index 003eb2f7..3ea197da 100644 --- a/bkucommon/src/main/java/at/gv/egiz/bku/accesscontroller/CommandParamChecker.java +++ b/bkucommon/src/main/java/at/gv/egiz/bku/accesscontroller/CommandParamChecker.java @@ -45,7 +45,6 @@ public abstract class CommandParamChecker { return val; } - @SuppressWarnings("unchecked") public boolean equals(Object other) { if (other instanceof Tupel) { Tupel ot = (Tupel) other; diff --git a/bkucommon/src/main/java/at/gv/egiz/bku/binding/HttpUtil.java b/bkucommon/src/main/java/at/gv/egiz/bku/binding/HttpUtil.java index 8282e34e..c7298030 100644 --- a/bkucommon/src/main/java/at/gv/egiz/bku/binding/HttpUtil.java +++ b/bkucommon/src/main/java/at/gv/egiz/bku/binding/HttpUtil.java @@ -52,7 +52,6 @@ public class HttpUtil { * if true the method return the default charset if not set * @return charset String or null if not present */ - @SuppressWarnings("unchecked") public static String getCharset(String contentType, boolean replaceNullWithDefault) { ParameterParser pf = new ParameterParser(); diff --git a/bkucommon/src/main/java/at/gv/egiz/bku/conf/IAIKLogAdapterFactory.java b/bkucommon/src/main/java/at/gv/egiz/bku/conf/IAIKLogAdapterFactory.java index 52c3d8d1..28c7561c 100644 --- a/bkucommon/src/main/java/at/gv/egiz/bku/conf/IAIKLogAdapterFactory.java +++ b/bkucommon/src/main/java/at/gv/egiz/bku/conf/IAIKLogAdapterFactory.java @@ -38,7 +38,6 @@ public class IAIKLogAdapterFactory extends LogFactory { /* (non-Javadoc) * @see iaik.logging.LogFactory#getInstance(java.lang.Class) */ - @SuppressWarnings("unchecked") @Override public synchronized Log getInstance(Class clazz) throws LogConfigurationException { Logger logger = LoggerFactory.getLogger(clazz); diff --git a/bkucommon/src/main/java/at/gv/egiz/bku/slcommands/impl/xsect/SignatureLocation.java b/bkucommon/src/main/java/at/gv/egiz/bku/slcommands/impl/xsect/SignatureLocation.java index 26a4aa4e..41c039e8 100644 --- a/bkucommon/src/main/java/at/gv/egiz/bku/slcommands/impl/xsect/SignatureLocation.java +++ b/bkucommon/src/main/java/at/gv/egiz/bku/slcommands/impl/xsect/SignatureLocation.java @@ -214,7 +214,6 @@ public class SignatureLocation { return namespaceContext.getPrefix(namespaceURI); } - @SuppressWarnings("unchecked") @Override public Iterator getPrefixes(String namespaceURI) { return namespaceContext.getPrefixes(namespaceURI); diff --git a/bkucommon/src/main/java/at/gv/egiz/bku/slcommands/impl/xsect/XSECTTransforms.java b/bkucommon/src/main/java/at/gv/egiz/bku/slcommands/impl/xsect/XSECTTransforms.java index a98e4236..fee98253 100644 --- a/bkucommon/src/main/java/at/gv/egiz/bku/slcommands/impl/xsect/XSECTTransforms.java +++ b/bkucommon/src/main/java/at/gv/egiz/bku/slcommands/impl/xsect/XSECTTransforms.java @@ -41,7 +41,6 @@ public class XSECTTransforms extends TransformsImpl { * @param transforms a list of {@link TransformImpl}s * @see TransformsImpl#TransformsImpl(List) */ - @SuppressWarnings("unchecked") public XSECTTransforms(List transforms) { super(transforms); } diff --git a/bkucommon/src/test/java/moaspss/MOASPClient.java b/bkucommon/src/test/java/moaspss/MOASPClient.java index ade5b38b..b98b8835 100644 --- a/bkucommon/src/test/java/moaspss/MOASPClient.java +++ b/bkucommon/src/test/java/moaspss/MOASPClient.java @@ -82,7 +82,6 @@ public class MOASPClient { public static class ClientJAXBContextFactory implements JAXBContextFactory { - @SuppressWarnings("unchecked") public JAXBRIContext createJAXBContext(final SEIModel sei, final List classesToBind, final List typeReferences) throws JAXBException { -- cgit v1.2.3