cxf-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dk...@apache.org
Subject svn commit: r1073118 - in /cxf/trunk: rt/ws/rm/src/main/java/org/apache/cxf/ws/rm/Proxy.java systests/ws-specs/src/test/java/org/apache/cxf/systest/ws/rm/SequenceTest.java
Date Mon, 21 Feb 2011 19:09:08 GMT
Author: dkulp
Date: Mon Feb 21 19:09:08 2011
New Revision: 1073118

URL: http://svn.apache.org/viewvc?rev=1073118&view=rev
Log:
Fix test failure in SequenceTest

Modified:
    cxf/trunk/rt/ws/rm/src/main/java/org/apache/cxf/ws/rm/Proxy.java
    cxf/trunk/systests/ws-specs/src/test/java/org/apache/cxf/systest/ws/rm/SequenceTest.java

Modified: cxf/trunk/rt/ws/rm/src/main/java/org/apache/cxf/ws/rm/Proxy.java
URL: http://svn.apache.org/viewvc/cxf/trunk/rt/ws/rm/src/main/java/org/apache/cxf/ws/rm/Proxy.java?rev=1073118&r1=1073117&r2=1073118&view=diff
==============================================================================
--- cxf/trunk/rt/ws/rm/src/main/java/org/apache/cxf/ws/rm/Proxy.java (original)
+++ cxf/trunk/rt/ws/rm/src/main/java/org/apache/cxf/ws/rm/Proxy.java Mon Feb 21 19:09:08 2011
@@ -21,6 +21,7 @@ package org.apache.cxf.ws.rm;
 
 
 import java.util.Collections;
+import java.util.HashMap;
 import java.util.Map;
 import java.util.logging.Level;
 import java.util.logging.Logger;
@@ -186,7 +187,9 @@ public class Proxy {
         OperationInfo oi = reliableEndpoint.getEndpoint().getEndpointInfo().getService().getInterface()
             .getOperation(RMConstants.getLastMessageOperationName());
         // pass reference to source sequence in invocation context
-        Map<String, Object> context = Collections.singletonMap(SourceSequence.class.getName(),
(Object)s);
+        Map<String, Object> context = new HashMap<String, Object>(
+                Collections.singletonMap(SourceSequence.class.getName(), 
+                                         (Object)s));
 
         invoke(oi, new Object[] {}, context);
     }

Modified: cxf/trunk/systests/ws-specs/src/test/java/org/apache/cxf/systest/ws/rm/SequenceTest.java
URL: http://svn.apache.org/viewvc/cxf/trunk/systests/ws-specs/src/test/java/org/apache/cxf/systest/ws/rm/SequenceTest.java?rev=1073118&r1=1073117&r2=1073118&view=diff
==============================================================================
--- cxf/trunk/systests/ws-specs/src/test/java/org/apache/cxf/systest/ws/rm/SequenceTest.java
(original)
+++ cxf/trunk/systests/ws-specs/src/test/java/org/apache/cxf/systest/ws/rm/SequenceTest.java
Mon Feb 21 19:09:08 2011
@@ -1244,7 +1244,7 @@ public class SequenceTest extends Abstra
     @Test
     public void testTerminateOnShutdown() throws Exception {
         init("org/apache/cxf/systest/ws/rm/terminate-on-shutdown.xml", true);
-        
+
         greeter.greetMeOneWay("neutrophil");
         greeter.greetMeOneWay("basophil");
         greeter.greetMeOneWay("eosinophil");



Mime
View raw message