Author: pete.muir(a)jboss.org
Date: 2009-03-25 06:38:49 -0400 (Wed, 25 Mar 2009)
New Revision: 2200
Modified:
ri/trunk/impl/src/main/java/org/jboss/webbeans/bootstrap/BeanDeployer.java
ri/trunk/impl/src/main/java/org/jboss/webbeans/introspector/AnnotatedField.java
ri/trunk/impl/src/main/java/org/jboss/webbeans/introspector/ForwardingAnnotatedField.java
Log:
minor
Modified: ri/trunk/impl/src/main/java/org/jboss/webbeans/bootstrap/BeanDeployer.java
===================================================================
--- ri/trunk/impl/src/main/java/org/jboss/webbeans/bootstrap/BeanDeployer.java 2009-03-25
10:20:52 UTC (rev 2199)
+++ ri/trunk/impl/src/main/java/org/jboss/webbeans/bootstrap/BeanDeployer.java 2009-03-25
10:38:49 UTC (rev 2200)
@@ -154,8 +154,7 @@
{
for (AnnotatedMethod<?> method :
annotatedClass.getDeclaredAnnotatedMethods(Produces.class))
{
- createProducerMethod(declaringBean, method);
-
+ createProducerMethod(declaringBean, method);
}
}
Modified: ri/trunk/impl/src/main/java/org/jboss/webbeans/introspector/AnnotatedField.java
===================================================================
---
ri/trunk/impl/src/main/java/org/jboss/webbeans/introspector/AnnotatedField.java 2009-03-25
10:20:52 UTC (rev 2199)
+++
ri/trunk/impl/src/main/java/org/jboss/webbeans/introspector/AnnotatedField.java 2009-03-25
10:38:49 UTC (rev 2200)
@@ -19,8 +19,6 @@
import java.lang.reflect.Field;
-import javax.inject.manager.Manager;
-
/**
* AnnotatedField provides a uniform access to the annotations on an annotated
* field
@@ -47,18 +45,6 @@
*/
public void set(Object declaringInstance, Object value) throws
IllegalArgumentException, IllegalAccessException;
- /**
- * Injects into the field using the value provided by the manager
- *
- * Unlike {@link #set(Object, Manager)} the field injected into is
- * discovered from the declaring instance. This is slower, but safe to use
- * with proxies.
- *
- * @param declaringInstance The instance to inject into
- * @param value The value to inject
- */
- public void setOnInstance(Object declaringInstance, Object value) throws
IllegalArgumentException, SecurityException, IllegalAccessException,
NoSuchFieldException;
-
public T get(Object instance);
/**
Modified:
ri/trunk/impl/src/main/java/org/jboss/webbeans/introspector/ForwardingAnnotatedField.java
===================================================================
---
ri/trunk/impl/src/main/java/org/jboss/webbeans/introspector/ForwardingAnnotatedField.java 2009-03-25
10:20:52 UTC (rev 2199)
+++
ri/trunk/impl/src/main/java/org/jboss/webbeans/introspector/ForwardingAnnotatedField.java 2009-03-25
10:38:49 UTC (rev 2200)
@@ -49,11 +49,6 @@
delegate().set(declaringInstance, value);
}
- public void setOnInstance(Object declaringInstance, Object value) throws
IllegalArgumentException, SecurityException, IllegalAccessException, NoSuchFieldException
- {
- delegate().setOnInstance(declaringInstance, value);
- }
-
public boolean isTransient()
{
return delegate().isTransient();