This is an automated email from the ASF dual-hosted git repository.

reta pushed a commit to branch 3.6.x-fixes
in repository https://gitbox.apache.org/repos/asf/cxf.git


The following commit(s) were added to refs/heads/3.6.x-fixes by this push:
     new 275af06b63 Fix PMD violations
275af06b63 is described below

commit 275af06b63778db104c6ac4fa888c01bc3e73c3e
Author: Andriy Redko <[email protected]>
AuthorDate: Sun Aug 13 10:53:50 2023 -0400

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

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 f1ab3a4c53..0de0d40e3e 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
@@ -28,6 +28,7 @@ import java.util.Collection;
 import java.util.Date;
 import java.util.HashMap;
 import java.util.HashSet;
+import java.util.Map;
 import java.util.TimerTask;
 
 import javax.xml.namespace.QName;
@@ -383,7 +384,7 @@ public class RMManagerTest {
                              eq(false),
                              isA(ProtocolVariation.class),
                              isA(Exchange.class),
-                             CastUtils.cast(isA(HashMap.class), String.class, 
Object.class)))
+                             CastUtils.cast(isA(Map.class), String.class, 
Object.class)))
             .thenReturn(createResponse);
         Servant servant = mock(Servant.class);
         when(rme.getServant()).thenReturn(servant);

Reply via email to