commons-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ohe...@apache.org
Subject svn commit: r1553026 - /commons/proper/configuration/trunk/src/main/java/org/apache/commons/configuration/builder/combined/MultiWrapDynaBean.java
Date Sun, 22 Dec 2013 20:37:23 GMT
Author: oheger
Date: Sun Dec 22 20:37:22 2013
New Revision: 1553026

URL: http://svn.apache.org/r1553026
Log:
MultiWrapDynaBean now uses BeanHelper for creating WrapDynaBeans.

This ensures that the enhanced introspection is used on the wrapped beans. So
parameters objects with a fluent API can be processed correctly.

Modified:
    commons/proper/configuration/trunk/src/main/java/org/apache/commons/configuration/builder/combined/MultiWrapDynaBean.java

Modified: commons/proper/configuration/trunk/src/main/java/org/apache/commons/configuration/builder/combined/MultiWrapDynaBean.java
URL: http://svn.apache.org/viewvc/commons/proper/configuration/trunk/src/main/java/org/apache/commons/configuration/builder/combined/MultiWrapDynaBean.java?rev=1553026&r1=1553025&r2=1553026&view=diff
==============================================================================
--- commons/proper/configuration/trunk/src/main/java/org/apache/commons/configuration/builder/combined/MultiWrapDynaBean.java
(original)
+++ commons/proper/configuration/trunk/src/main/java/org/apache/commons/configuration/builder/combined/MultiWrapDynaBean.java
Sun Dec 22 20:37:22 2013
@@ -24,7 +24,7 @@ import java.util.Map;
 import org.apache.commons.beanutils.DynaBean;
 import org.apache.commons.beanutils.DynaClass;
 import org.apache.commons.beanutils.DynaProperty;
-import org.apache.commons.beanutils.WrapDynaBean;
+import org.apache.commons.configuration.beanutils.BeanHelper;
 
 /**
  * <p>
@@ -173,6 +173,6 @@ class MultiWrapDynaBean implements DynaB
         {
             return (DynaBean) bean;
         }
-        return new WrapDynaBean(bean);
+        return BeanHelper.createWrapDynaBean(bean);
     }
 }



Mime
View raw message