deltaspike-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From strub...@apache.org
Subject [2/2] git commit: DELTASPIKE-405 revert back to <M>
Date Sat, 07 Sep 2013 07:13:39 GMT
DELTASPIKE-405 revert back to <M>


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

Branch: refs/heads/master
Commit: 5638a30b2ba14b9e590fa6f2d411a2810d23c21c
Parents: 502fecd
Author: Mark Struberg <struberg@localhost.localdomain>
Authored: Fri Sep 6 20:12:27 2013 +0200
Committer: Mark Struberg <struberg@localhost.localdomain>
Committed: Sat Sep 7 09:10:40 2013 +0200

----------------------------------------------------------------------
 .../apache/deltaspike/jsf/impl/message/JsfMessageProducer.java   | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/deltaspike/blob/5638a30b/deltaspike/modules/jsf/impl/src/main/java/org/apache/deltaspike/jsf/impl/message/JsfMessageProducer.java
----------------------------------------------------------------------
diff --git a/deltaspike/modules/jsf/impl/src/main/java/org/apache/deltaspike/jsf/impl/message/JsfMessageProducer.java
b/deltaspike/modules/jsf/impl/src/main/java/org/apache/deltaspike/jsf/impl/message/JsfMessageProducer.java
index 63b48f9..b9e3e7e 100644
--- a/deltaspike/modules/jsf/impl/src/main/java/org/apache/deltaspike/jsf/impl/message/JsfMessageProducer.java
+++ b/deltaspike/modules/jsf/impl/src/main/java/org/apache/deltaspike/jsf/impl/message/JsfMessageProducer.java
@@ -37,7 +37,7 @@ public class JsfMessageProducer
 {
     @Produces
     @Dependent
-    public JsfMessage createJsfMessage(InjectionPoint injectionPoint,
+    public <M> JsfMessage<M> createJsfMessage(InjectionPoint injectionPoint,
                                        MessageBundleInvocationHandler invocationHandler)
     {
         if (!(injectionPoint.getType() instanceof ParameterizedType))
@@ -53,7 +53,7 @@ public class JsfMessageProducer
         try
         {
             @SuppressWarnings("unchecked")
-            Class<?> type = (Class<?>) actualTypes[0];
+            Class<M> type = (Class<M>) actualTypes[0];
             return createJsfMessageFor(injectionPoint, type, invocationHandler);
         }
         catch (ClassCastException e)


Mime
View raw message