cxf-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dk...@apache.org
Subject [2/2] cxf git commit: Remove unused code
Date Fri, 08 May 2015 17:37:49 GMT
Remove unused code


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

Branch: refs/heads/master
Commit: 159089a4c0bcf4d30ed819f064f0e31c6c3dc2af
Parents: 654ad3a
Author: Daniel Kulp <dkulp@apache.org>
Authored: Fri May 8 13:37:27 2015 -0400
Committer: Daniel Kulp <dkulp@apache.org>
Committed: Fri May 8 13:37:27 2015 -0400

----------------------------------------------------------------------
 .../ws/security/wss4j/AbstractPolicySecurityTest.java   | 12 ------------
 1 file changed, 12 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cxf/blob/159089a4/rt/ws/security/src/test/java/org/apache/cxf/ws/security/wss4j/AbstractPolicySecurityTest.java
----------------------------------------------------------------------
diff --git a/rt/ws/security/src/test/java/org/apache/cxf/ws/security/wss4j/AbstractPolicySecurityTest.java
b/rt/ws/security/src/test/java/org/apache/cxf/ws/security/wss4j/AbstractPolicySecurityTest.java
index 2dea066..0753a6e 100644
--- a/rt/ws/security/src/test/java/org/apache/cxf/ws/security/wss4j/AbstractPolicySecurityTest.java
+++ b/rt/ws/security/src/test/java/org/apache/cxf/ws/security/wss4j/AbstractPolicySecurityTest.java
@@ -32,11 +32,6 @@ import javax.xml.namespace.QName;
 import javax.xml.soap.Node;
 import javax.xml.soap.SOAPException;
 import javax.xml.soap.SOAPMessage;
-import javax.xml.transform.OutputKeys;
-import javax.xml.transform.Transformer;
-import javax.xml.transform.TransformerFactory;
-import javax.xml.transform.dom.DOMSource;
-import javax.xml.transform.stream.StreamResult;
 import javax.xml.xpath.XPath;
 import javax.xml.xpath.XPathConstants;
 import javax.xml.xpath.XPathExpression;
@@ -587,13 +582,6 @@ public abstract class AbstractPolicySecurityTest extends AbstractSecurityTest
{
                 0, strDataNodes.getLength());
     }
 
-    private void dumpDocument(Document document) throws Exception { //NOPMD
-        TransformerFactory tf = TransformerFactory.newInstance();
-        Transformer t = tf.newTransformer();
-        t.setOutputProperty(OutputKeys.INDENT, "yes");
-        t.transform(new DOMSource(document), new StreamResult(System.out));
-    }
-
     protected static final class MockEndpoint extends 
         AbstractAttributedInterceptorProvider implements Endpoint {
 


Mime
View raw message