commons-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From brit...@apache.org
Subject svn commit: r1442697 - /commons/sandbox/beanutils2/trunk/src/main/java/org/apache/commons/beanutils2/PropertyDescriptorsRegistry.java
Date Tue, 05 Feb 2013 18:58:08 GMT
Author: britter
Date: Tue Feb  5 18:58:08 2013
New Revision: 1442697

URL: http://svn.apache.org/viewvc?rev=1442697&view=rev
Log:
Revert changes from r1441784 as discussed on the ML (http://markmail.org/message/voaatcjbyetyvysf)

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=1442697&r1=1442696&r2=1442697&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
Tue Feb  5 18:58:08 2013
@@ -19,10 +19,11 @@ 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;
@@ -75,7 +76,7 @@ final class PropertyDescriptorsRegistry
             }
 
             propertiesIndex = new HashMap<String, PropertyDescriptor>();
-            BeanInfo beanInfo = Introspector.getBeanInfo( beanType );
+            BeanInfo beanInfo = getBeanInfo( beanType );
 
             List<PropertyDescriptor> propertyDescriptors =
                 new ArrayList<PropertyDescriptor>( Arrays.asList( beanInfo.getPropertyDescriptors()
) );



Mime
View raw message