Fixing build
Project: http://git-wip-us.apache.org/repos/asf/cxf/repo Commit: http://git-wip-us.apache.org/repos/asf/cxf/commit/43caf831 Tree: http://git-wip-us.apache.org/repos/asf/cxf/tree/43caf831 Diff: http://git-wip-us.apache.org/repos/asf/cxf/diff/43caf831 Branch: refs/heads/3.1.x-fixes Commit: 43caf8316752311125524257f867e4ff5548c17d Parents: 7a3cf31 Author: Colm O hEigeartaigh <[email protected]> Authored: Tue May 17 16:13:14 2016 +0100 Committer: Colm O hEigeartaigh <[email protected]> Committed: Tue May 17 16:13:14 2016 +0100 ---------------------------------------------------------------------- .../apache/cxf/ws/security/wss4j/saml/SamlTokenTest.java | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/cxf/blob/43caf831/rt/ws/security/src/test/java/org/apache/cxf/ws/security/wss4j/saml/SamlTokenTest.java ---------------------------------------------------------------------- diff --git a/rt/ws/security/src/test/java/org/apache/cxf/ws/security/wss4j/saml/SamlTokenTest.java b/rt/ws/security/src/test/java/org/apache/cxf/ws/security/wss4j/saml/SamlTokenTest.java index 1425a34..15a782b 100644 --- a/rt/ws/security/src/test/java/org/apache/cxf/ws/security/wss4j/saml/SamlTokenTest.java +++ b/rt/ws/security/src/test/java/org/apache/cxf/ws/security/wss4j/saml/SamlTokenTest.java @@ -20,7 +20,6 @@ package org.apache.cxf.ws.security.wss4j.saml; import java.io.ByteArrayInputStream; import java.util.ArrayList; -import java.util.Collections; import java.util.HashMap; import java.util.List; import java.util.Map; @@ -273,14 +272,14 @@ public class SamlTokenTest extends AbstractSecurityTest { xpaths.add("//wsse:Security/saml1:Assertion"); try { - makeInvocation(outProperties, xpaths, inProperties, Collections.emptyMap()); + makeInvocation(outProperties, xpaths, inProperties, new HashMap<String, String>()); fail("Failure expected in SAML Validator"); } catch (Fault ex) { // expected } validator.setRequireSenderVouches(false); - Message message = makeInvocation(outProperties, xpaths, inProperties, Collections.emptyMap()); + Message message = makeInvocation(outProperties, xpaths, inProperties, new HashMap<String, String>()); final List<WSHandlerResult> handlerResults = CastUtils.cast((List<?>)message.get(WSHandlerConstants.RECV_RESULTS)); @@ -329,7 +328,7 @@ public class SamlTokenTest extends AbstractSecurityTest { xpaths.add("//wsse:Security/saml2:Assertion"); try { - makeInvocation(outProperties, xpaths, inProperties, Collections.emptyMap()); + makeInvocation(outProperties, xpaths, inProperties, new HashMap<String, String>()); fail("Failure expected in SAML Validator"); } catch (Fault ex) { // expected @@ -337,14 +336,14 @@ public class SamlTokenTest extends AbstractSecurityTest { validator.setRequireSenderVouches(false); try { - makeInvocation(outProperties, xpaths, inProperties, Collections.emptyMap()); + makeInvocation(outProperties, xpaths, inProperties, new HashMap<String, String>()); fail("Failure expected in SAML Validator"); } catch (Fault ex) { // expected } validator.setRequireSAML1Assertion(false); - Message message = makeInvocation(outProperties, xpaths, inProperties, Collections.emptyMap()); + Message message = makeInvocation(outProperties, xpaths, inProperties, new HashMap<String, String>()); final List<WSHandlerResult> handlerResults = CastUtils.cast((List<?>)message.get(WSHandlerConstants.RECV_RESULTS));
