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-6370] Fixing AsyncResponseImpl register method
Date Fri, 24 Apr 2015 10:21:07 GMT
Repository: cxf
Updated Branches:
  refs/heads/3.0.x-fixes a27081146 -> 4298cba6d


[CXF-6370] Fixing AsyncResponseImpl register method


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

Branch: refs/heads/3.0.x-fixes
Commit: 4298cba6d819dc1d4cb52cf35449bb46b1665773
Parents: a270811
Author: Sergey Beryozkin <sberyozkin@talend.com>
Authored: Fri Apr 24 11:13:18 2015 +0100
Committer: Sergey Beryozkin <sberyozkin@talend.com>
Committed: Fri Apr 24 11:20:43 2015 +0100

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


http://git-wip-us.apache.org/repos/asf/cxf/blob/4298cba6/rt/frontend/jaxrs/src/main/java/org/apache/cxf/jaxrs/impl/AsyncResponseImpl.java
----------------------------------------------------------------------
diff --git a/rt/frontend/jaxrs/src/main/java/org/apache/cxf/jaxrs/impl/AsyncResponseImpl.java
b/rt/frontend/jaxrs/src/main/java/org/apache/cxf/jaxrs/impl/AsyncResponseImpl.java
index 2f3ce44..fc997ad 100644
--- a/rt/frontend/jaxrs/src/main/java/org/apache/cxf/jaxrs/impl/AsyncResponseImpl.java
+++ b/rt/frontend/jaxrs/src/main/java/org/apache/cxf/jaxrs/impl/AsyncResponseImpl.java
@@ -195,7 +195,7 @@ public class AsyncResponseImpl implements AsyncResponse, ContinuationCallback
{
     
         Object[] allCallbacks = new Object[1 + callbacks.length];
         allCallbacks[0] = callback;
-        System.arraycopy(allCallbacks, 1, callbacks, 0, callbacks.length);
+        System.arraycopy(callbacks, 0, allCallbacks, 1, callbacks.length);
         
         for (int i = 0; i < allCallbacks.length; i++) {
             if (allCallbacks[i] == null) {


Mime
View raw message