openwebbeans-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From rmannibu...@apache.org
Subject svn commit: r1624094 - /openwebbeans/trunk/webbeans-impl/src/main/java/org/apache/webbeans/container/BeanManagerImpl.java
Date Wed, 10 Sep 2014 18:45:38 GMT
Author: rmannibucau
Date: Wed Sep 10 18:45:38 2014
New Revision: 1624094

URL: http://svn.apache.org/r1624094
Log:
id are better when unique ;), todo: surely remove AnnotatedElementFactory.OWB_DEFAULT_KEY,
and surely use same algo as in toString of OwbBeans (keeping extension class in the id)

Modified:
    openwebbeans/trunk/webbeans-impl/src/main/java/org/apache/webbeans/container/BeanManagerImpl.java

Modified: openwebbeans/trunk/webbeans-impl/src/main/java/org/apache/webbeans/container/BeanManagerImpl.java
URL: http://svn.apache.org/viewvc/openwebbeans/trunk/webbeans-impl/src/main/java/org/apache/webbeans/container/BeanManagerImpl.java?rev=1624094&r1=1624093&r2=1624094&view=diff
==============================================================================
--- openwebbeans/trunk/webbeans-impl/src/main/java/org/apache/webbeans/container/BeanManagerImpl.java
(original)
+++ openwebbeans/trunk/webbeans-impl/src/main/java/org/apache/webbeans/container/BeanManagerImpl.java
Wed Sep 10 18:45:38 2014
@@ -1223,7 +1223,7 @@ public class BeanManagerImpl implements 
 
     public void addAdditionalAnnotatedType(Object extension, AnnotatedType<?> annotatedType)
     {
-        addAdditionalAnnotatedType(extension, annotatedType, extension + AnnotatedElementFactory.OWB_DEFAULT_KEY);
+        addAdditionalAnnotatedType(extension, annotatedType, extension.toString() + annotatedType
+ AnnotatedElementFactory.OWB_DEFAULT_KEY);
     }
 
     public <T> void addAdditionalAnnotatedType(Object extension, AnnotatedType<T>
inAnnotatedType, String id)



Mime
View raw message