You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@openwebbeans.apache.org by ge...@apache.org on 2009/01/17 09:06:55 UTC
svn commit: r735242 -
/incubator/openwebbeans/trunk/webbeans-impl/src/main/java/org/apache/webbeans/util/WebBeansUtil.java
Author: gerdogdu
Date: Sat Jan 17 00:06:54 2009
New Revision: 735242
URL: http://svn.apache.org/viewvc?rev=735242&view=rev
Log:
Static producer method check is removed.
Modified:
incubator/openwebbeans/trunk/webbeans-impl/src/main/java/org/apache/webbeans/util/WebBeansUtil.java
Modified: incubator/openwebbeans/trunk/webbeans-impl/src/main/java/org/apache/webbeans/util/WebBeansUtil.java
URL: http://svn.apache.org/viewvc/incubator/openwebbeans/trunk/webbeans-impl/src/main/java/org/apache/webbeans/util/WebBeansUtil.java?rev=735242&r1=735241&r2=735242&view=diff
==============================================================================
--- incubator/openwebbeans/trunk/webbeans-impl/src/main/java/org/apache/webbeans/util/WebBeansUtil.java (original)
+++ incubator/openwebbeans/trunk/webbeans-impl/src/main/java/org/apache/webbeans/util/WebBeansUtil.java Sat Jan 17 00:06:54 2009
@@ -308,11 +308,6 @@
{
Asserts.assertNotNull(method, "Method argument can not be null");
- if (ClassUtil.isStatic(method.getModifiers()))
- {
- throw new WebBeansConfigurationException("Producer method : " + method.getName() + " in the class " + parentImplClazzName + " can not be static");
- }
-
Type returnType = method.getGenericReturnType();
if (returnType instanceof ParameterizedType)
{