cxf-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From serg...@apache.org
Subject cxf git commit: [CXF-6367] Minor update
Date Thu, 23 Apr 2015 13:11:08 GMT
Repository: cxf
Updated Branches:
  refs/heads/3.0.x-fixes 3292a2c4e -> 3fe914c93


[CXF-6367] Minor update


Project: http://git-wip-us.apache.org/repos/asf/cxf/repo
Commit: http://git-wip-us.apache.org/repos/asf/cxf/commit/3fe914c9
Tree: http://git-wip-us.apache.org/repos/asf/cxf/tree/3fe914c9
Diff: http://git-wip-us.apache.org/repos/asf/cxf/diff/3fe914c9

Branch: refs/heads/3.0.x-fixes
Commit: 3fe914c93ec98e7f67e2bf47bb333cc9ec182ae6
Parents: 3292a2c
Author: Sergey Beryozkin <sberyozkin@talend.com>
Authored: Thu Apr 23 14:09:36 2015 +0100
Committer: Sergey Beryozkin <sberyozkin@talend.com>
Committed: Thu Apr 23 14:10:54 2015 +0100

----------------------------------------------------------------------
 .../main/java/org/apache/cxf/jaxrs/client/ClientProxyImpl.java    | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cxf/blob/3fe914c9/rt/rs/client/src/main/java/org/apache/cxf/jaxrs/client/ClientProxyImpl.java
----------------------------------------------------------------------
diff --git a/rt/rs/client/src/main/java/org/apache/cxf/jaxrs/client/ClientProxyImpl.java b/rt/rs/client/src/main/java/org/apache/cxf/jaxrs/client/ClientProxyImpl.java
index c3d1ba7..3bbb325 100644
--- a/rt/rs/client/src/main/java/org/apache/cxf/jaxrs/client/ClientProxyImpl.java
+++ b/rt/rs/client/src/main/java/org/apache/cxf/jaxrs/client/ClientProxyImpl.java
@@ -61,6 +61,7 @@ import org.apache.cxf.common.classloader.ClassLoaderUtils.ClassLoaderHolder;
 import org.apache.cxf.common.i18n.BundleUtils;
 import org.apache.cxf.common.logging.LogUtils;
 import org.apache.cxf.common.util.PropertyUtils;
+import org.apache.cxf.common.util.StringUtils;
 import org.apache.cxf.endpoint.Endpoint;
 import org.apache.cxf.helpers.CastUtils;
 import org.apache.cxf.interceptor.Fault;
@@ -491,7 +492,7 @@ public class ClientProxyImpl extends AbstractClient implements
                             values.put(annotationValue, new BeanPair(value, m.getParameterAnnotations()[0]));
                         }
                     } else {
-                        Field f = bean.getClass().getField(propertyName);
+                        Field f = bean.getClass().getField(StringUtils.uncapitalize(propertyName));
                         if (f == null) {
                             continue;
                         }


Mime
View raw message