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:19:46 GMT
Repository: cxf
Updated Branches:
  refs/heads/master e50a8bb97 -> 2982a61a7


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

Branch: refs/heads/master
Commit: 2982a61a7b9cfe9761a74c4781d3528a1b4209af
Parents: e50a8bb
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:13:18 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/2982a61a/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