You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@deltaspike.apache.org by st...@apache.org on 2012/08/11 17:08:13 UTC

git commit: remove unecessary @SuppressWarnings

Updated Branches:
  refs/heads/master 60913d181 -> 9e55750f4


remove unecessary @SuppressWarnings


Project: http://git-wip-us.apache.org/repos/asf/incubator-deltaspike/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-deltaspike/commit/9e55750f
Tree: http://git-wip-us.apache.org/repos/asf/incubator-deltaspike/tree/9e55750f
Diff: http://git-wip-us.apache.org/repos/asf/incubator-deltaspike/diff/9e55750f

Branch: refs/heads/master
Commit: 9e55750f43c102b8ac9b6e9a7eb80269fa3bc5f1
Parents: 60913d1
Author: Mark Struberg <st...@apache.org>
Authored: Sat Aug 11 17:06:54 2012 +0200
Committer: Mark Struberg <st...@apache.org>
Committed: Sat Aug 11 17:06:54 2012 +0200

----------------------------------------------------------------------
 .../exception/control/DefaultExceptionEvent.java   |    1 -
 .../control/ExceptionHandlerDispatch.java          |    2 --
 .../control/HandlerMethodStorageProducer.java      |    1 -
 3 files changed, 0 insertions(+), 4 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-deltaspike/blob/9e55750f/deltaspike/core/impl/src/main/java/org/apache/deltaspike/core/impl/exception/control/DefaultExceptionEvent.java
----------------------------------------------------------------------
diff --git a/deltaspike/core/impl/src/main/java/org/apache/deltaspike/core/impl/exception/control/DefaultExceptionEvent.java b/deltaspike/core/impl/src/main/java/org/apache/deltaspike/core/impl/exception/control/DefaultExceptionEvent.java
index ddd2ff0..95d3799 100644
--- a/deltaspike/core/impl/src/main/java/org/apache/deltaspike/core/impl/exception/control/DefaultExceptionEvent.java
+++ b/deltaspike/core/impl/src/main/java/org/apache/deltaspike/core/impl/exception/control/DefaultExceptionEvent.java
@@ -31,7 +31,6 @@ import javax.enterprise.inject.Typed;
  *
  * @param <T> Exception type this event represents
  */
-@SuppressWarnings({ "unchecked", "CdiManagedBeanInconsistencyInspection" })
 @Typed()
 public class DefaultExceptionEvent<T extends Throwable> implements IntrospectiveExceptionEvent<T>
 {

http://git-wip-us.apache.org/repos/asf/incubator-deltaspike/blob/9e55750f/deltaspike/core/impl/src/main/java/org/apache/deltaspike/core/impl/exception/control/ExceptionHandlerDispatch.java
----------------------------------------------------------------------
diff --git a/deltaspike/core/impl/src/main/java/org/apache/deltaspike/core/impl/exception/control/ExceptionHandlerDispatch.java b/deltaspike/core/impl/src/main/java/org/apache/deltaspike/core/impl/exception/control/ExceptionHandlerDispatch.java
index 7554038..40517d2 100644
--- a/deltaspike/core/impl/src/main/java/org/apache/deltaspike/core/impl/exception/control/ExceptionHandlerDispatch.java
+++ b/deltaspike/core/impl/src/main/java/org/apache/deltaspike/core/impl/exception/control/ExceptionHandlerDispatch.java
@@ -42,7 +42,6 @@ import java.util.logging.Logger;
  * handler dispatcher. All handlers are invoked from this class.  This class is immutable.
  */
 @ApplicationScoped
-@SuppressWarnings("UnusedDeclaration")
 public class ExceptionHandlerDispatch
 {
     private static final Logger LOG = Logger.getLogger(ExceptionHandlerDispatch.class.getName());
@@ -54,7 +53,6 @@ public class ExceptionHandlerDispatch
      * @param beanManager    active bean manager
      * @throws Throwable If a handler requests the exception to be re-thrown.
      */
-    @SuppressWarnings({ "unchecked", "MethodWithMultipleLoops", "ThrowableResultOfMethodCallIgnored" })
     public void executeHandlers(@Observes @Any ExceptionToCatchEvent exceptionEventEvent,
                                 final BeanManager beanManager) throws Throwable
     {

http://git-wip-us.apache.org/repos/asf/incubator-deltaspike/blob/9e55750f/deltaspike/core/impl/src/main/java/org/apache/deltaspike/core/impl/exception/control/HandlerMethodStorageProducer.java
----------------------------------------------------------------------
diff --git a/deltaspike/core/impl/src/main/java/org/apache/deltaspike/core/impl/exception/control/HandlerMethodStorageProducer.java b/deltaspike/core/impl/src/main/java/org/apache/deltaspike/core/impl/exception/control/HandlerMethodStorageProducer.java
index 5f4864d..4b1ea0f 100644
--- a/deltaspike/core/impl/src/main/java/org/apache/deltaspike/core/impl/exception/control/HandlerMethodStorageProducer.java
+++ b/deltaspike/core/impl/src/main/java/org/apache/deltaspike/core/impl/exception/control/HandlerMethodStorageProducer.java
@@ -25,7 +25,6 @@ import javax.enterprise.context.ApplicationScoped;
 import javax.enterprise.inject.Produces;
 
 @ApplicationScoped
-@SuppressWarnings("UnusedDeclaration")
 public class HandlerMethodStorageProducer
 {
     @Produces