- From: Thomas Gambet via cvs-syncmail <cvsmail@w3.org>
- Date: Mon, 17 Aug 2009 09:04:45 +0000
- To: www-validator-cvs@w3.org
Update of /sources/public/2006/unicorn/src/org/w3c/unicorn/contract
In directory hutz:/tmp/cvs-serv15379/src/org/w3c/unicorn/contract
Modified Files:
Tag: dev2
WADLUnmarshallerXPath.java
Log Message:
removed unused init() function
Index: WADLUnmarshallerXPath.java
===================================================================
RCS file: /sources/public/2006/unicorn/src/org/w3c/unicorn/contract/Attic/WADLUnmarshallerXPath.java,v
retrieving revision 1.1.2.2
retrieving revision 1.1.2.3
diff -u -d -r1.1.2.2 -r1.1.2.3
--- WADLUnmarshallerXPath.java 12 Aug 2009 13:15:20 -0000 1.1.2.2
+++ WADLUnmarshallerXPath.java 17 Aug 2009 09:04:43 -0000 1.1.2.3
@@ -128,9 +128,7 @@
public void addURL(final URL aURL) throws IOException {
WADLUnmarshallerXPath.logger.trace("addURL");
- if (WADLUnmarshallerXPath.logger.isDebugEnabled()) {
- WADLUnmarshallerXPath.logger.debug("URL : " + aURL + ".");
- }
+ WADLUnmarshallerXPath.logger.trace("URL : " + aURL + ".");
try {
this.aDocument = this.aDocumentBuilder.parse(aURL.openStream());
@@ -367,39 +365,6 @@
return this.listOfCallMethod;
}
- /**
- * Gets the Namespace URI and the prefix
- */
- /*public static void init() {
- WADLUnmarshallerXPath.setNamespaceContext(new NamespaceContext() {
- public String getNamespaceURI(final String sPrefix) {
- if ("xs".equals(sPrefix)) {
- return "http://www.w3.org/2001/XMLSchema";
- } else if ("uco".equals(sPrefix)) {
- return "http://www.w3.org/unicorn/observationresponse";
- } else {
- return null;
- }
- }
-
- public String getPrefix(final String sNamespaceURI) {
- if ("http://www.w3.org/2001/XMLSchema".equals(sNamespaceURI)) {
- return "xs";
- } else if ("http://www.w3.org/unicorn/observationresponse"
- .equals(sNamespaceURI)) {
- return "uco";
- } else {
- return null;
- }
- }
-
- public Iterator getPrefixes(final String sNamespaceURI) {
- return null;
- }
-
- });
- }*/
-
public LocalizedString getDescription() {
return this.aLocalizedStringDescription;
}
Received on Monday, 17 August 2009 09:04:54 UTC