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 2014/12/22 21:35:28 UTC

cxf git commit: Remove a warning in eclipse

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 <dk...@apache.org>
Authored: Mon Dec 22 15:27:28 2014 -0500
Committer: Daniel Kulp <dk...@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);