[weld-commits] Weld SVN: r6775 - extensions/trunk/impl/src/main/java/org/jboss/weld/extensions/bean/generic.

weld-commits at lists.jboss.org weld-commits at lists.jboss.org
Fri Jul 23 14:29:24 EDT 2010


Author: pete.muir at jboss.org
Date: 2010-07-23 14:29:24 -0400 (Fri, 23 Jul 2010)
New Revision: 6775

Modified:
   extensions/trunk/impl/src/main/java/org/jboss/weld/extensions/bean/generic/FieldSetter.java
Log:
minor

Modified: extensions/trunk/impl/src/main/java/org/jboss/weld/extensions/bean/generic/FieldSetter.java
===================================================================
--- extensions/trunk/impl/src/main/java/org/jboss/weld/extensions/bean/generic/FieldSetter.java	2010-07-23 18:28:38 UTC (rev 6774)
+++ extensions/trunk/impl/src/main/java/org/jboss/weld/extensions/bean/generic/FieldSetter.java	2010-07-23 18:29:24 UTC (rev 6775)
@@ -29,18 +29,18 @@
  * @author Stuart Douglas <stuart at baileyroberts.com.au>
  * 
  */
-public class FieldSetter
+class FieldSetter
 {
    private final Field field;
    private final SyntheticQualifier qualifier;
    private final BeanManager beanManager;
 
-   public FieldSetter(BeanManager beanManager, Field field, SyntheticQualifier qualifier)
+   FieldSetter(BeanManager beanManager, Field field, SyntheticQualifier qualifier)
    {
       this.field = field;
+      this.field.setAccessible(true);
       this.qualifier = qualifier;
       this.beanManager = beanManager;
-      field.setAccessible(true);
    }
 
    public void set(Object instance, CreationalContext<?> ctx)



More information about the weld-commits mailing list