deltaspike-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From gpetra...@apache.org
Subject deltaspike git commit: DELTASPIKE-817 align handling of unmanaged classes
Date Tue, 28 Jul 2015 10:02:49 GMT
Repository: deltaspike
Updated Branches:
  refs/heads/master 98a70f5b7 -> e1f330486


DELTASPIKE-817 align handling of unmanaged classes


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

Branch: refs/heads/master
Commit: e1f330486cbbd23c677044fcc7c3d8ab2e77d1ac
Parents: 98a70f5
Author: gpetracek <gpetracek@apache.org>
Authored: Tue Jul 28 11:58:29 2015 +0200
Committer: gpetracek <gpetracek@apache.org>
Committed: Tue Jul 28 11:58:29 2015 +0200

----------------------------------------------------------------------
 .../main/java/org/apache/deltaspike/core/util/Annotateds.java | 7 +++++++
 .../impl/exception/control/ExceptionHandlerComparator.java    | 2 ++
 2 files changed, 9 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/deltaspike/blob/e1f33048/deltaspike/core/api/src/main/java/org/apache/deltaspike/core/util/Annotateds.java
----------------------------------------------------------------------
diff --git a/deltaspike/core/api/src/main/java/org/apache/deltaspike/core/util/Annotateds.java
b/deltaspike/core/api/src/main/java/org/apache/deltaspike/core/util/Annotateds.java
index 0b25c99..e8213cf 100644
--- a/deltaspike/core/api/src/main/java/org/apache/deltaspike/core/util/Annotateds.java
+++ b/deltaspike/core/api/src/main/java/org/apache/deltaspike/core/util/Annotateds.java
@@ -19,6 +19,7 @@
 
 package org.apache.deltaspike.core.util;
 
+import javax.enterprise.inject.Typed;
 import javax.enterprise.inject.spi.Annotated;
 import javax.enterprise.inject.spi.AnnotatedCallable;
 import javax.enterprise.inject.spi.AnnotatedConstructor;
@@ -66,6 +67,7 @@ public final class Annotateds
      * Does the first stage of comparing AnnoatedCallables, however it cannot
      * compare the method parameters
      */
+    @Typed()
     private static class AnnotatedCallableComparator<T>
         implements Comparator<AnnotatedCallable<? super T>>, Serializable
     {
@@ -90,6 +92,7 @@ public final class Annotateds
 
     }
 
+    @Typed()
     private static class AnnotatedMethodComparator<T>
         implements Comparator<AnnotatedMethod<? super T>>, Serializable
     {
@@ -123,6 +126,7 @@ public final class Annotateds
 
     }
 
+    @Typed()
     private static class AnnotatedConstructorComparator<T>
         implements Comparator<AnnotatedConstructor<? super T>>, Serializable
     {
@@ -156,6 +160,7 @@ public final class Annotateds
 
     }
 
+    @Typed()
     private static class AnnotatedFieldComparator<T>
         implements Comparator<AnnotatedField<? super T>>, Serializable
     {
@@ -177,6 +182,7 @@ public final class Annotateds
 
     }
 
+    @Typed()
     private static class AnnotationComparator implements Comparator<Annotation>, Serializable
     {
 
@@ -188,6 +194,7 @@ public final class Annotateds
         }
     }
 
+    @Typed()
     private static class MethodComparator implements Comparator<Method>
     {
 

http://git-wip-us.apache.org/repos/asf/deltaspike/blob/e1f33048/deltaspike/core/impl/src/main/java/org/apache/deltaspike/core/impl/exception/control/ExceptionHandlerComparator.java
----------------------------------------------------------------------
diff --git a/deltaspike/core/impl/src/main/java/org/apache/deltaspike/core/impl/exception/control/ExceptionHandlerComparator.java
b/deltaspike/core/impl/src/main/java/org/apache/deltaspike/core/impl/exception/control/ExceptionHandlerComparator.java
index 57081c8..071e08d 100644
--- a/deltaspike/core/impl/src/main/java/org/apache/deltaspike/core/impl/exception/control/ExceptionHandlerComparator.java
+++ b/deltaspike/core/impl/src/main/java/org/apache/deltaspike/core/impl/exception/control/ExceptionHandlerComparator.java
@@ -23,6 +23,7 @@ import org.apache.deltaspike.core.api.exception.control.HandlerMethod;
 import org.apache.deltaspike.core.api.literal.AnyLiteral;
 import org.apache.deltaspike.core.util.HierarchyDiscovery;
 
+import javax.enterprise.inject.Typed;
 import java.lang.reflect.Type;
 import java.util.ArrayList;
 import java.util.Comparator;
@@ -34,6 +35,7 @@ import java.util.Set;
  * (highest to lowest) and finally hierarchy (least to most specific).
  */
 @SuppressWarnings({ "MethodWithMoreThanThreeNegations" })
+@Typed()
 public final class ExceptionHandlerComparator implements Comparator<HandlerMethod<?>>
 {
     /**


Mime
View raw message