2006/unicorn/src/org/w3c/unicorn/contract CallMethod.java,1.2,1.3 WADLUnmarshallerXPath.java,1.3,1.4 Observer.java,1.3,1.4 CallParameter.java,1.2,1.3

Update of /sources/public/2006/unicorn/src/org/w3c/unicorn/contract
In directory hutz:/tmp/cvs-serv14224/src/org/w3c/unicorn/contract

Modified Files:
	CallMethod.java WADLUnmarshallerXPath.java Observer.java 
	CallParameter.java 
Log Message:
log cleanup

Index: CallMethod.java
===================================================================
RCS file: /sources/public/2006/unicorn/src/org/w3c/unicorn/contract/CallMethod.java,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -d -r1.2 -r1.3
--- CallMethod.java	28 Aug 2009 12:40:09 -0000	1.2
+++ CallMethod.java	23 Sep 2009 09:16:29 -0000	1.3
@@ -64,15 +64,12 @@
 	public CallMethod(final URL aURL, final boolean bPost, final String sName,
 			final String sID,
 			final Map<String, CallParameter> mapOfCallParameter) {
-		CallMethod.logger.trace("Constructor");
-		if (CallMethod.logger.isDebugEnabled()) {
-			CallMethod.logger.debug("URL : " + aURL + ".");
-			CallMethod.logger.debug("Post : " + bPost + ".");
-			CallMethod.logger.debug("Name : " + sName + ".");
-			CallMethod.logger.debug("ID : " + sID + ".");
-			CallMethod.logger.debug("Map of call parameter : "
-					+ mapOfCallParameter + ".");
-		}
+		logger.trace("Constructor");
+		logger.debug("URL : " + aURL + ".");
+		logger.debug("Post : " + bPost + ".");
+		logger.debug("Name : " + sName + ".");
+		logger.debug("ID : " + sID + ".");
+		logger.debug("Map of call parameter : " + mapOfCallParameter + ".");
 
 		this.aURL = aURL;
 		this.mapOfCallParameter = mapOfCallParameter;

Index: Observer.java
===================================================================
RCS file: /sources/public/2006/unicorn/src/org/w3c/unicorn/contract/Observer.java,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -d -r1.3 -r1.4
--- Observer.java	18 Sep 2009 17:16:24 -0000	1.3
+++ Observer.java	23 Sep 2009 09:16:29 -0000	1.4
@@ -82,7 +82,7 @@
 	 * 
 	 */
 	public Observer() {
-		Observer.logger.trace("Constructor");
+		logger.trace("Constructor");
 	}
 
 	public String getID() {

Index: CallParameter.java
===================================================================
RCS file: /sources/public/2006/unicorn/src/org/w3c/unicorn/contract/CallParameter.java,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -d -r1.2 -r1.3
--- CallParameter.java	28 Aug 2009 12:40:09 -0000	1.2
+++ CallParameter.java	23 Sep 2009 09:16:29 -0000	1.3
@@ -90,15 +90,12 @@
 			final boolean bRepeating) {
 		super();
 
-		CallParameter.logger
-				.trace("Constructor(String, List<String>, String, boolean, boolean)");
-		if (CallParameter.logger.isDebugEnabled()) {
-			CallParameter.logger.debug("Name : " + sName + ".");
-			CallParameter.logger.debug("List of value : " + listOfValue + ".");
-			CallParameter.logger.debug("Fixed : " + sFixed + ".");
-			CallParameter.logger.debug("Required : " + bRequired + ".");
-			CallParameter.logger.debug("Repeating : " + bRepeating + ".");
-		}
+		logger.trace("Constructor(String, List<String>, String, boolean, boolean)");
+		logger.debug("Name : " + sName + ".");
+		logger.debug("List of value : " + listOfValue + ".");
+		logger.debug("Fixed : " + sFixed + ".");
+		logger.debug("Required : " + bRequired + ".");
+		logger.debug("Repeating : " + bRepeating + ".");
 
 		this.sName = sName;
 		this.listOfPossibleValue = listOfValue;
@@ -115,7 +112,7 @@
 	 */
 	public CallParameter(final String sName) {
 		this(sName, new ArrayList<String>(), null, false, false);
-		CallParameter.logger.trace("Constructor(String)");
+		logger.trace("Constructor(String)");
 	}
 
 	/**
@@ -123,7 +120,7 @@
 	 */
 	public CallParameter() {
 		this("", new ArrayList<String>(), null, false, false);
-		CallParameter.logger.trace("Constructor()");
+		logger.trace("Constructor()");
 	}
 
 	// ===================

Index: WADLUnmarshallerXPath.java
===================================================================
RCS file: /sources/public/2006/unicorn/src/org/w3c/unicorn/contract/WADLUnmarshallerXPath.java,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -d -r1.3 -r1.4
--- WADLUnmarshallerXPath.java	18 Sep 2009 17:17:59 -0000	1.3
+++ WADLUnmarshallerXPath.java	23 Sep 2009 09:16:29 -0000	1.4
@@ -111,7 +111,7 @@
 	 * @throws ParserConfigurationException
 	 */
 	public WADLUnmarshallerXPath() throws ParserConfigurationException {
-		WADLUnmarshallerXPath.logger.trace("Constructor");
+		logger.trace("Constructor");
 
 		this.aDocumentBuilderFactory = DocumentBuilderFactory.newInstance();
 
@@ -129,13 +129,13 @@
 	 */
 	public void addURL(final URL aURL) throws IOException {
 
-		WADLUnmarshallerXPath.logger.trace("addURL");
-		WADLUnmarshallerXPath.logger.trace("URL : " + aURL + ".");
+		logger.trace("addURL");
+		logger.trace("URL : " + aURL + ".");
 
 		try {
 			this.aDocument = this.aDocumentBuilder.parse(aURL.openStream());
 		} catch (SAXException e) {
-			WADLUnmarshallerXPath.logger.error(
+			logger.error(
 					"Parsing error with SAX in WADLUnmarshaller", e);
 			e.printStackTrace();
 		}
@@ -150,7 +150,7 @@
 	public void unmarshal() throws XPathExpressionException,
 			ParserConfigurationException, SAXException, IOException,
 			MimeTypeParseException {
-		WADLUnmarshallerXPath.logger.trace("unmarshal");
+		logger.trace("unmarshal");
 		this.parseDocsHeader();
 		this.parseMethods();
 	}
@@ -226,7 +226,7 @@
 	 */
 	private void parseMethods() throws ParserConfigurationException,
 			SAXException, IOException, XPathExpressionException {
-		WADLUnmarshallerXPath.logger.trace("parseMethods");
+		logger.trace("parseMethods");
 
 		// base uri
 		final Node aNodeResource = this.aDocument.getElementsByTagName(

Received on Wednesday, 23 September 2009 09:16:41 UTC