You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cxf.apache.org by dk...@apache.org on 2017/06/20 02:06:05 UTC

cxf git commit: [CXF-7414] Don't resume if we know it's not the next message

Repository: cxf
Updated Branches:
  refs/heads/master df47c2d60 -> 3dfbf3062


[CXF-7414] Don't resume if we know it's not the next message


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

Branch: refs/heads/master
Commit: 3dfbf306299f1193b1590602e0060a87c06e7819
Parents: df47c2d
Author: Daniel Kulp <dk...@apache.org>
Authored: Mon Jun 19 21:55:43 2017 -0400
Committer: Daniel Kulp <dk...@apache.org>
Committed: Mon Jun 19 21:55:43 2017 -0400

----------------------------------------------------------------------
 .../main/java/org/apache/cxf/ws/rm/DestinationSequence.java    | 6 +-----
 1 file changed, 1 insertion(+), 5 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cxf/blob/3dfbf306/rt/ws/rm/src/main/java/org/apache/cxf/ws/rm/DestinationSequence.java
----------------------------------------------------------------------
diff --git a/rt/ws/rm/src/main/java/org/apache/cxf/ws/rm/DestinationSequence.java b/rt/ws/rm/src/main/java/org/apache/cxf/ws/rm/DestinationSequence.java
index 59327cb..336db1f 100644
--- a/rt/ws/rm/src/main/java/org/apache/cxf/ws/rm/DestinationSequence.java
+++ b/rt/ws/rm/src/main/java/org/apache/cxf/ws/rm/DestinationSequence.java
@@ -406,11 +406,7 @@ public class DestinationSequence extends AbstractSequence {
                 c.resume();
                 return;
             }
-            //next wasn't found, just resume whatever is first...
-            for (Map.Entry<Long, Continuation> entry : continuations.entrySet()) {
-                entry.getValue().resume();
-                return;
-            }
+            //next wasn't found, nothing to resume, assume it will come in later...
         } finally {
             notifyAll();
         }