[webbeans-commits] Webbeans SVN: r262 - ri/trunk/webbeans-ri/src/test/java/org/jboss/webbeans/test/util.
webbeans-commits at lists.jboss.org
webbeans-commits at lists.jboss.org
Thu Nov 6 11:12:09 EST 2008
Author: pete.muir at jboss.org
Date: 2008-11-06 11:12:09 -0500 (Thu, 06 Nov 2008)
New Revision: 262
Modified:
ri/trunk/webbeans-ri/src/test/java/org/jboss/webbeans/test/util/Util.java
Log:
Deprecate this method which isn't safe
Modified: ri/trunk/webbeans-ri/src/test/java/org/jboss/webbeans/test/util/Util.java
===================================================================
--- ri/trunk/webbeans-ri/src/test/java/org/jboss/webbeans/test/util/Util.java 2008-11-06 14:55:05 UTC (rev 261)
+++ ri/trunk/webbeans-ri/src/test/java/org/jboss/webbeans/test/util/Util.java 2008-11-06 16:12:09 UTC (rev 262)
@@ -63,6 +63,7 @@
return new ProducerMethodBeanModel<T>(new SimpleAnnotatedMethod<T>(method), xmlAnnotatedMethod, manager, declaringBean);
}
+ @Deprecated
public static <T> ProducerMethodBeanModel<T> createProducerModel(Class<T> type, Method method, AnnotatedMethod<T> xmlAnnotatedMethod, ManagerImpl manager)
{
return createProducerModel(type, method, xmlAnnotatedMethod, manager, null);
More information about the weld-commits
mailing list