[weld-commits] Weld SVN: r6383 - extensions/trunk/src/main/java/org/jboss/weld/extensions/util/properties.

weld-commits at lists.jboss.org weld-commits at lists.jboss.org
Wed Jun 2 18:20:03 EDT 2010


Author: shane.bryzak at jboss.com
Date: 2010-06-02 18:20:02 -0400 (Wed, 02 Jun 2010)
New Revision: 6383

Modified:
   extensions/trunk/src/main/java/org/jboss/weld/extensions/util/properties/BeanPropertyQuery.java
Log:
minor

Modified: extensions/trunk/src/main/java/org/jboss/weld/extensions/util/properties/BeanPropertyQuery.java
===================================================================
--- extensions/trunk/src/main/java/org/jboss/weld/extensions/util/properties/BeanPropertyQuery.java	2010-06-02 22:18:50 UTC (rev 6382)
+++ extensions/trunk/src/main/java/org/jboss/weld/extensions/util/properties/BeanPropertyQuery.java	2010-06-02 22:20:02 UTC (rev 6383)
@@ -26,9 +26,9 @@
       return this;
    }
    
-   public List<Property> getResultList()
+   public List<Property<?>> getResultList()
    {
-      List<Property> results = new ArrayList<Property>();
+      List<Property<?>> results = new ArrayList<Property<?>>();
 
       Class<?> cls = targetClass;
       while (!cls.equals(Object.class))
@@ -40,7 +40,7 @@
             {                     
                if (c.fieldMatches(field))
                {
-                  results.add(new FieldProperty(field));
+                  results.add(Properties.createProperty(field));
                }
             }
          }
@@ -55,7 +55,7 @@
          {
             if (c.methodMatches(method))
             {
-               results.add(new MethodProperty(method));
+               results.add(Properties.createProperty(method));
             }
          }
       }      



More information about the weld-commits mailing list