commons-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From brit...@apache.org
Subject svn commit: r1441784 - /commons/sandbox/beanutils2/trunk/src/main/java/org/apache/commons/beanutils2/PropertyDescriptorsRegistry.java
Date Sat, 02 Feb 2013 18:17:48 GMT
Author: britter
Date: Sat Feb  2 18:17:48 2013
New Revision: 1441784

URL: http://svn.apache.org/viewvc?rev=1441784&view=rev
Log:
Better make it explicit that getBeanInfo is not a member of PropertyDescriptorsRegistry

Modified:
    commons/sandbox/beanutils2/trunk/src/main/java/org/apache/commons/beanutils2/PropertyDescriptorsRegistry.java

Modified: commons/sandbox/beanutils2/trunk/src/main/java/org/apache/commons/beanutils2/PropertyDescriptorsRegistry.java
URL: http://svn.apache.org/viewvc/commons/sandbox/beanutils2/trunk/src/main/java/org/apache/commons/beanutils2/PropertyDescriptorsRegistry.java?rev=1441784&r1=1441783&r2=1441784&view=diff
==============================================================================
--- commons/sandbox/beanutils2/trunk/src/main/java/org/apache/commons/beanutils2/PropertyDescriptorsRegistry.java
(original)
+++ commons/sandbox/beanutils2/trunk/src/main/java/org/apache/commons/beanutils2/PropertyDescriptorsRegistry.java
Sat Feb  2 18:17:48 2013
@@ -19,11 +19,10 @@ package org.apache.commons.beanutils2;
  * under the License.
  */
 
-import static java.beans.Introspector.getBeanInfo;
-
 import java.beans.BeanInfo;
 import java.beans.IndexedPropertyDescriptor;
 import java.beans.IntrospectionException;
+import java.beans.Introspector;
 import java.beans.PropertyDescriptor;
 import java.lang.reflect.Method;
 import java.util.ArrayList;
@@ -76,7 +75,7 @@ final class PropertyDescriptorsRegistry
             }
 
             propertiesIndex = new HashMap<String, PropertyDescriptor>();
-            BeanInfo beanInfo = getBeanInfo( beanType );
+            BeanInfo beanInfo = Introspector.getBeanInfo( beanType );
 
             List<PropertyDescriptor> propertyDescriptors =
                 new ArrayList<PropertyDescriptor>( Arrays.asList( beanInfo.getPropertyDescriptors()
) );



Mime
View raw message