Repository: cxf Updated Branches: refs/heads/master 4bc00dc9e -> e0a8c1656
[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/e0a8c165 Tree: http://git-wip-us.apache.org/repos/asf/cxf/tree/e0a8c165 Diff: http://git-wip-us.apache.org/repos/asf/cxf/diff/e0a8c165 Branch: refs/heads/master Commit: e0a8c16569cedd537ea8d26779335ccf5d4ed6b6 Parents: 4bc00dc Author: Sergey Beryozkin <[email protected]> Authored: Fri Jun 19 17:20:51 2015 +0100 Committer: Sergey Beryozkin <[email protected]> Committed: Fri Jun 19 17:20:51 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/e0a8c165/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 {
