cxf-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dk...@apache.org
Subject cxf git commit: Remove a warning in eclipse
Date Mon, 22 Dec 2014 20:35:28 GMT
Repository: cxf
Updated Branches:
  refs/heads/master ce4bf27a5 -> a00dc60e7


Remove a warning in eclipse


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

Branch: refs/heads/master
Commit: a00dc60e7a3af6f932f75c6616f107e2f99ca078
Parents: ce4bf27
Author: Daniel Kulp <dkulp@apache.org>
Authored: Mon Dec 22 15:27:28 2014 -0500
Committer: Daniel Kulp <dkulp@apache.org>
Committed: Mon Dec 22 15:27:28 2014 -0500

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


http://git-wip-us.apache.org/repos/asf/cxf/blob/a00dc60e/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 22b93fa..af50827 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
@@ -531,7 +531,7 @@ public class RMManagerTest extends Assert {
         control.reset();
         setUpEndpointForRecovery(endpoint, ei, si, bi, ii);  
         RMMessage m = control.createMock(RMMessage.class);
-        Capture<Message> mc = new Capture<Message>();
+        Capture<Message> mc = Capture.newInstance();
         setUpRecoverReliableEndpoint(endpoint, conduit, ss, ds, m, mc);        
         control.replay();
         manager.recoverReliableEndpoint(endpoint, conduit);


Mime
View raw message