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

2006/unicorn/src/org/w3c/unicorn/util LocalizedString.java,1.4,1.5

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-0005RB-0K@lionel-hutz.w3.org>
Update of /sources/public/2006/unicorn/src/org/w3c/unicorn/util
In directory hutz:/tmp/cvs-serv20849/src/org/w3c/unicorn/util

Modified Files:
	LocalizedString.java 
Log Message:
Optimized log calls

Index: LocalizedString.java
===================================================================
RCS file: /sources/public/2006/unicorn/src/org/w3c/unicorn/util/LocalizedString.java,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -d -r1.4 -r1.5
--- LocalizedString.java	23 Sep 2009 09:23:30 -0000	1.4
+++ LocalizedString.java	20 Mar 2010 15:32:11 -0000	1.5
@@ -69,9 +69,9 @@
 	 *         there was no mapping for key.
 	 */
 	public String addLocalization(final String sLocale, final String sMessage) {
-		logger.trace("addLocalization");
-		logger.debug("Locale : " + sLocale + ".");
-		logger.debug("Message : " + sMessage + ".");
+		logger.trace("addLocalization\n" +
+				     "Locale : " + sLocale + ".\n" +
+				     "Message : " + sMessage + ".");
 		return this.mapOfString.put(sLocale, sMessage);
 	}
 
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