ws-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From wer...@apache.org
Subject svn commit: r355103 - /webservices/commons/trunk/policy/src/org/apache/ws/policy/util/PolicyReaderDOM.java
Date Thu, 08 Dec 2005 14:42:47 GMT
Author: werner
Date: Thu Dec  8 06:42:43 2005
New Revision: 355103

URL: http://svn.apache.org/viewcvs?rev=355103&view=rev
Log:
Cleanup import and comments

Modified:
    webservices/commons/trunk/policy/src/org/apache/ws/policy/util/PolicyReaderDOM.java

Modified: webservices/commons/trunk/policy/src/org/apache/ws/policy/util/PolicyReaderDOM.java
URL: http://svn.apache.org/viewcvs/webservices/commons/trunk/policy/src/org/apache/ws/policy/util/PolicyReaderDOM.java?rev=355103&r1=355102&r2=355103&view=diff
==============================================================================
--- webservices/commons/trunk/policy/src/org/apache/ws/policy/util/PolicyReaderDOM.java (original)
+++ webservices/commons/trunk/policy/src/org/apache/ws/policy/util/PolicyReaderDOM.java Thu
Dec  8 06:42:43 2005
@@ -36,7 +36,6 @@
 import org.w3c.dom.NamedNodeMap;
 import org.xml.sax.SAXException;
 
-import org.apache.axis2.om.OMAttribute;
 import org.apache.ws.policy.model.AndCompositeAssertion;
 import org.apache.ws.policy.model.Assertion;
 import org.apache.ws.policy.model.Policy;
@@ -73,21 +72,6 @@
 			e.printStackTrace();
 			throw new RuntimeException("error : " + e.getMessage());
 		}
-
-		
-//		try {
-//			XMLStreamReader reader = XMLInputFactory.newInstance()
-//					.createXMLStreamReader(in);
-//			OMXMLParserWrapper builder = OMXMLBuilderFactory
-//					.createStAXOMBuilder(OMAbstractFactory.getOMFactory(),
-//							reader);
-//
-//			OMElement element = builder.getDocumentElement();
-//			return readPolicy(element);
-//
-//		} catch (XMLStreamException ex) {
-//			throw new RuntimeException("error : " + ex.getMessage());
-//		}
 	}
 	
 	private Assertion readAssertion(Element element) {



Mime
View raw message