Package: mule / 2.0.1-7

beanutils-compatibility.patch Patch series | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
Description: Fix the source compatibility with BeanUtils 1.9
Author: Emmanuel Bourg <ebourg@apache.org>
Forwarded: no
--- a/core/src/main/java/org/mule/transport/service/TransportFactory.java
+++ b/core/src/main/java/org/mule/transport/service/TransportFactory.java
@@ -137,7 +137,7 @@
             connector = createConnector(uri, muleContext);
             try
             {
-                BeanUtils.populate(connector, uri.getParams());
+                BeanUtils.populate(connector, new java.util.HashMap(uri.getParams()));
                 connector.setMuleContext(muleContext);
                 muleContext.getRegistry().registerConnector(connector);
             }