summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authortkellner <tkellner@8a26b1a7-26f0-462f-b9ef-d0e30c41f5a4>2011-03-18 15:00:32 +0000
committertkellner <tkellner@8a26b1a7-26f0-462f-b9ef-d0e30c41f5a4>2011-03-18 15:00:32 +0000
commitd14bb03500027b876d7a3d9e9a9487125005a39c (patch)
treeedebb7d2ecd15d79886071bed0fd1a1ef59a68f4
parent6b6a41ca329dbd5b1e5426310db0832d13583b2a (diff)
downloadmocca-d14bb03500027b876d7a3d9e9a9487125005a39c.tar.gz
mocca-d14bb03500027b876d7a3d9e9a9487125005a39c.tar.bz2
mocca-d14bb03500027b876d7a3d9e9a9487125005a39c.zip
Remove unnecessary @SuppressWarnings
git-svn-id: https://joinup.ec.europa.eu/svn/mocca/trunk@926 8a26b1a7-26f0-462f-b9ef-d0e30c41f5a4
-rw-r--r--BKUApplet/src/main/java/at/gv/egiz/bku/online/applet/BKUApplet.java1
-rw-r--r--BKUOnline/src/main/java/at/gv/egiz/stal/service/impl/STALXJAXBContextFactory.java1
-rw-r--r--bkucommon/src/main/java/at/gv/egiz/bku/accesscontroller/CommandParamChecker.java1
-rw-r--r--bkucommon/src/main/java/at/gv/egiz/bku/binding/HttpUtil.java1
-rw-r--r--bkucommon/src/main/java/at/gv/egiz/bku/conf/IAIKLogAdapterFactory.java1
-rw-r--r--bkucommon/src/main/java/at/gv/egiz/bku/slcommands/impl/xsect/SignatureLocation.java1
-rw-r--r--bkucommon/src/main/java/at/gv/egiz/bku/slcommands/impl/xsect/XSECTTransforms.java1
-rw-r--r--bkucommon/src/test/java/moaspss/MOASPClient.java1
-rw-r--r--utils/src/main/java/at/gv/egiz/org/apache/tomcat/util/http/AcceptLanguage.java1
9 files changed, 1 insertions, 8 deletions
diff --git a/BKUApplet/src/main/java/at/gv/egiz/bku/online/applet/BKUApplet.java b/BKUApplet/src/main/java/at/gv/egiz/bku/online/applet/BKUApplet.java
index fb71cb0d..ee86fc2e 100644
--- a/BKUApplet/src/main/java/at/gv/egiz/bku/online/applet/BKUApplet.java
+++ b/BKUApplet/src/main/java/at/gv/egiz/bku/online/applet/BKUApplet.java
@@ -157,6 +157,7 @@ public class BKUApplet extends JApplet {
// http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=6993691
// http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=6993073
// and http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=7001786
+ @SuppressWarnings("unused")
ParserDelegator workaround = new ParserDelegator();
HttpsURLConnection.setDefaultSSLSocketFactory(InternalSSLSocketFactory.getInstance());
diff --git a/BKUOnline/src/main/java/at/gv/egiz/stal/service/impl/STALXJAXBContextFactory.java b/BKUOnline/src/main/java/at/gv/egiz/stal/service/impl/STALXJAXBContextFactory.java
index 300f01d0..f3e7039b 100644
--- a/BKUOnline/src/main/java/at/gv/egiz/stal/service/impl/STALXJAXBContextFactory.java
+++ b/BKUOnline/src/main/java/at/gv/egiz/stal/service/impl/STALXJAXBContextFactory.java
@@ -34,7 +34,6 @@ public class STALXJAXBContextFactory implements JAXBContextFactory {
private final Logger log = LoggerFactory.getLogger(STALXJAXBContextFactory.class);
- @SuppressWarnings("unchecked")
@Override
public JAXBRIContext createJAXBContext(SEIModel sei, List<Class> classesToBind, List<TypeReference> typeReferences) throws JAXBException {
if (log.isTraceEnabled()) {
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<Class> classesToBind, final List<TypeReference> typeReferences)
throws JAXBException {
diff --git a/utils/src/main/java/at/gv/egiz/org/apache/tomcat/util/http/AcceptLanguage.java b/utils/src/main/java/at/gv/egiz/org/apache/tomcat/util/http/AcceptLanguage.java
index 396fb6d9..231966ac 100644
--- a/utils/src/main/java/at/gv/egiz/org/apache/tomcat/util/http/AcceptLanguage.java
+++ b/utils/src/main/java/at/gv/egiz/org/apache/tomcat/util/http/AcceptLanguage.java
@@ -35,7 +35,6 @@ import java.util.Vector;
* @author Harish Prabandham
* @author costin@eng.sun.com
*/
-@SuppressWarnings("unchecked")
public class AcceptLanguage {
public static Locale getLocale(String acceptLanguage) {