cxf-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dk...@apache.org
Subject [cxf] 01/05: [CXF-7471] Use createResendCandidate() instead of constructor directly
Date Mon, 26 Feb 2018 17:55:29 GMT
This is an automated email from the ASF dual-hosted git repository.

dkulp pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/cxf.git

commit bfd27cfed696520ccdfef5183f5a4f887884290a
Author: Daniel Kulp <dkulp@apache.org>
AuthorDate: Mon Feb 26 12:11:45 2018 -0500

    [CXF-7471] Use createResendCandidate() instead of constructor directly
---
 .../main/java/org/apache/cxf/ws/rm/soap/RetransmissionQueueImpl.java  | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/rt/ws/rm/src/main/java/org/apache/cxf/ws/rm/soap/RetransmissionQueueImpl.java
b/rt/ws/rm/src/main/java/org/apache/cxf/ws/rm/soap/RetransmissionQueueImpl.java
index 1a8ff69..97514d2 100644
--- a/rt/ws/rm/src/main/java/org/apache/cxf/ws/rm/soap/RetransmissionQueueImpl.java
+++ b/rt/ws/rm/src/main/java/org/apache/cxf/ws/rm/soap/RetransmissionQueueImpl.java
@@ -323,7 +323,7 @@ public class RetransmissionQueueImpl implements RetransmissionQueue {
      * @param message the message context
      * @return a ResendCandidate
      */
-    protected ResendCandidate createResendCandidate(SoapMessage message) {
+    protected ResendCandidate createResendCandidate(Message message) {
         return new ResendCandidate(message);
     }
 
@@ -347,7 +347,7 @@ public class RetransmissionQueueImpl implements RetransmissionQueue {
                 sequenceCandidates = new ArrayList<>();
                 candidates.put(key, sequenceCandidates);
             }
-            candidate = new ResendCandidate(message);
+            candidate = createResendCandidate(message);
             if (isSequenceSuspended(key)) {
                 candidate.suspend();
             }

-- 
To stop receiving notification emails like this one, please contact
dkulp@apache.org.

Mime
View raw message