Author: pete.muir(a)jboss.org
Date: 2010-03-09 17:55:58 -0500 (Tue, 09 Mar 2010)
New Revision: 6028
Modified:
extensions/trunk/src/main/java/org/jboss/weld/extensions/genericbeans/FieldSetter.java
Log:
basic code consistency
Modified:
extensions/trunk/src/main/java/org/jboss/weld/extensions/genericbeans/FieldSetter.java
===================================================================
---
extensions/trunk/src/main/java/org/jboss/weld/extensions/genericbeans/FieldSetter.java 2010-03-09
22:53:09 UTC (rev 6027)
+++
extensions/trunk/src/main/java/org/jboss/weld/extensions/genericbeans/FieldSetter.java 2010-03-09
22:55:58 UTC (rev 6028)
@@ -15,9 +15,9 @@
*/
public class FieldSetter
{
- final Field field;
- final SyntheticQualifier qualifier;
- final BeanManager beanManager;
+ private final Field field;
+ private final SyntheticQualifier qualifier;
+ private final BeanManager beanManager;
public FieldSetter(BeanManager beanManager, Field field, SyntheticQualifier
qualifier)
{
@@ -38,7 +38,7 @@
{
throw new RuntimeException("More than 1 bean resolved for Generic Producer
field " + field.getDeclaringClass() + "." + field.getName());
}
- Bean bean = beans.iterator().next();
+ Bean<?> bean = beans.iterator().next();
Object dep = beanManager.getReference(bean, field.getType(), ctx);
try
{
Show replies by date