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-6467] Fixing a form array bug, patch from Pengling Qian applied
Date Fri, 19 Jun 2015 16:21:42 GMT
Repository: cxf
Updated Branches:
  refs/heads/3.0.x-fixes 2e6cffde7 -> 0abaf3cbe


[CXF-6467] Fixing a form array bug, patch from Pengling Qian applied


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

Branch: refs/heads/3.0.x-fixes
Commit: 0abaf3cbeb20bf30864c1c5b1ec70be04c07ebbf
Parents: 2e6cffd
Author: Sergey Beryozkin <sberyozkin@talend.com>
Authored: Fri Jun 19 17:20:51 2015 +0100
Committer: Sergey Beryozkin <sberyozkin@talend.com>
Committed: Fri Jun 19 17:21:26 2015 +0100

----------------------------------------------------------------------
 .../src/main/java/org/apache/cxf/jaxrs/utils/InjectionUtils.java   | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cxf/blob/0abaf3cb/rt/frontend/jaxrs/src/main/java/org/apache/cxf/jaxrs/utils/InjectionUtils.java
----------------------------------------------------------------------
diff --git a/rt/frontend/jaxrs/src/main/java/org/apache/cxf/jaxrs/utils/InjectionUtils.java
b/rt/frontend/jaxrs/src/main/java/org/apache/cxf/jaxrs/utils/InjectionUtils.java
index 2d95659..279f6a3 100644
--- a/rt/frontend/jaxrs/src/main/java/org/apache/cxf/jaxrs/utils/InjectionUtils.java
+++ b/rt/frontend/jaxrs/src/main/java/org/apache/cxf/jaxrs/utils/InjectionUtils.java
@@ -1194,7 +1194,7 @@ public final class InjectionUtils {
                 } else if (isSupportedCollectionOrArray(value.getClass())) {
                     List<Object> theValues = null;
                     if (value.getClass().isArray()) {
-                        theValues = Arrays.asList(value);
+                        theValues = Arrays.asList((Object[])value);
                     } else if (value instanceof Set) {
                         theValues = new ArrayList<Object>((Set<?>)value);
                     } else {


Mime
View raw message