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:22:36 GMT
Repository: cxf
Updated Branches:
  refs/heads/2.7.x-fixes 98c0728c7 -> a5dbf22a8


[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/a5dbf22a
Tree: http://git-wip-us.apache.org/repos/asf/cxf/tree/a5dbf22a
Diff: http://git-wip-us.apache.org/repos/asf/cxf/diff/a5dbf22a

Branch: refs/heads/2.7.x-fixes
Commit: a5dbf22a8401ccdacf54dfcd1fac4f86cabccac2
Parents: 98c0728
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:22:16 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/a5dbf22a/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 4ffa13c..b33bf6b 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
@@ -1159,7 +1159,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