cxf-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dk...@apache.org
Subject git commit: Fix an eclipse warning
Date Wed, 21 May 2014 19:59:57 GMT
Repository: cxf
Updated Branches:
  refs/heads/master 8050c2664 -> aa08a3348


Fix an eclipse warning


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

Branch: refs/heads/master
Commit: aa08a3348b0f282986270a55a731c4cf5dc0d4fe
Parents: 8050c26
Author: Daniel Kulp <dkulp@apache.org>
Authored: Wed May 21 15:59:23 2014 -0400
Committer: Daniel Kulp <dkulp@apache.org>
Committed: Wed May 21 15:59:23 2014 -0400

----------------------------------------------------------------------
 rt/ws/rm/src/test/java/org/apache/cxf/ws/rm/RMManagerTest.java | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cxf/blob/aa08a334/rt/ws/rm/src/test/java/org/apache/cxf/ws/rm/RMManagerTest.java
----------------------------------------------------------------------
diff --git a/rt/ws/rm/src/test/java/org/apache/cxf/ws/rm/RMManagerTest.java b/rt/ws/rm/src/test/java/org/apache/cxf/ws/rm/RMManagerTest.java
index 8e7304a..22b93fa 100644
--- a/rt/ws/rm/src/test/java/org/apache/cxf/ws/rm/RMManagerTest.java
+++ b/rt/ws/rm/src/test/java/org/apache/cxf/ws/rm/RMManagerTest.java
@@ -39,6 +39,7 @@ import org.apache.cxf.bus.spring.SpringBusFactory;
 import org.apache.cxf.endpoint.Client;
 import org.apache.cxf.endpoint.Endpoint;
 import org.apache.cxf.endpoint.Server;
+import org.apache.cxf.helpers.CastUtils;
 import org.apache.cxf.message.Exchange;
 import org.apache.cxf.message.Message;
 import org.apache.cxf.service.Service;
@@ -418,7 +419,8 @@ public class RMManagerTest extends Assert {
                              (RelatesToType)EasyMock.isNull(),
                              EasyMock.eq(false),
                              EasyMock.isA(ProtocolVariation.class),
-                             EasyMock.isA(Exchange.class), EasyMock.isA(HashMap.class));
+                             EasyMock.isA(Exchange.class), 
+                             CastUtils.cast(EasyMock.isA(HashMap.class), String.class, Object.class));
         EasyMock.expectLastCall().andReturn(createResponse);
         Servant servant = control.createMock(Servant.class);
         EasyMock.expect(rme.getServant()).andReturn(servant);


Mime
View raw message