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 2018/02/26 17:55:29 UTC
[cxf] 01/05: [CXF-7471] Use createResendCandidate() instead of
constructor directly
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 <dk...@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.