W3C home > Mailing lists > Public > www-validator-cvs@w3.org > March 2010

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

From: Thomas Gambet via cvs-syncmail <cvsmail@w3.org>
Date: Sat, 20 Mar 2010 15:32:14 +0000
To: www-validator-cvs@w3.org
Message-Id: <E1Nt0es-0005RG-4y@lionel-hutz.w3.org>
Update of /sources/public/2006/unicorn/src/org/w3c/unicorn/contract
In directory hutz:/tmp/cvs-serv20849/src/org/w3c/unicorn/contract

Modified Files:
	CallMethod.java CallParameter.java 
Log Message:
Optimized log calls

Index: CallMethod.java
===================================================================
RCS file: /sources/public/2006/unicorn/src/org/w3c/unicorn/contract/CallMethod.java,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -d -r1.3 -r1.4
--- CallMethod.java	23 Sep 2009 09:16:29 -0000	1.3
+++ CallMethod.java	20 Mar 2010 15:32:12 -0000	1.4
@@ -64,12 +64,12 @@
 	public CallMethod(final URL aURL, final boolean bPost, final String sName,
 			final String sID,
 			final Map<String, CallParameter> 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 + ".");
+		logger.trace("Constructor\n" +
+				     "URL : " + aURL + ".\n" +
+				     "Post : " + bPost + ".\n" +
+				     "Name : " + sName + ".\n" +
+				     "ID : " + sID + ".\n" +
+				     "Map of call parameter : " + mapOfCallParameter + ".");
 
 		this.aURL = aURL;
 		this.mapOfCallParameter = mapOfCallParameter;

Index: CallParameter.java
===================================================================
RCS file: /sources/public/2006/unicorn/src/org/w3c/unicorn/contract/CallParameter.java,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -d -r1.3 -r1.4
--- CallParameter.java	23 Sep 2009 09:16:29 -0000	1.3
+++ CallParameter.java	20 Mar 2010 15:32:12 -0000	1.4
@@ -90,12 +90,12 @@
 			final boolean bRepeating) {
 		super();
 
-		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 + ".");
+		logger.trace("Constructor(String, List<String>, String, boolean, boolean)\n" +
+					 "Name : " + sName + ".\n" +
+					 "List of value : " + listOfValue + ".\n" +
+					 "Fixed : " + sFixed + ".\n" +
+					 "Required : " + bRequired + ".\n" +
+					 "Repeating : " + bRepeating + ".");
 
 		this.sName = sName;
 		this.listOfPossibleValue = listOfValue;
Received on Saturday, 20 March 2010 15:32:15 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Thursday, 26 April 2012 12:55:19 GMT