W3C home > Mailing lists > Public > www-validator-cvs@w3.org > August 2009

2006/unicorn/src/org/w3c/unicorn/input InputModule.java,1.1.2.1,1.1.2.2 InputFactory.java,1.1.2.1,1.1.2.2

From: Thomas Gambet via cvs-syncmail <cvsmail@w3.org>
Date: Tue, 25 Aug 2009 08:49:51 +0000
To: www-validator-cvs@w3.org
Message-Id: <E1Mfrix-0003Ch-Ul@lionel-hutz.w3.org>
Update of /sources/public/2006/unicorn/src/org/w3c/unicorn/input
In directory hutz:/tmp/cvs-serv12133/src/org/w3c/unicorn/input

Modified Files:
      Tag: dev2
	InputModule.java InputFactory.java 
Log Message:
changed logger

Index: InputModule.java
===================================================================
RCS file: /sources/public/2006/unicorn/src/org/w3c/unicorn/input/Attic/InputModule.java,v
retrieving revision 1.1.2.1
retrieving revision 1.1.2.2
diff -u -d -r1.1.2.1 -r1.1.2.2
--- InputModule.java	11 Aug 2009 16:05:36 -0000	1.1.2.1
+++ InputModule.java	25 Aug 2009 08:49:49 -0000	1.1.2.2
@@ -19,7 +19,7 @@
  */
 public interface InputModule {
 
-	public static final Log logger = LogFactory.getLog("org.w3c.unicorn.input");
+	public static final Log logger = LogFactory.getLog(InputModule.class);
 
 	public EnumInputMethod getEnumInputMethod();
 

Index: InputFactory.java
===================================================================
RCS file: /sources/public/2006/unicorn/src/org/w3c/unicorn/input/Attic/InputFactory.java,v
retrieving revision 1.1.2.1
retrieving revision 1.1.2.2
diff -u -d -r1.1.2.1 -r1.1.2.2
--- InputFactory.java	11 Aug 2009 16:05:36 -0000	1.1.2.1
+++ InputFactory.java	25 Aug 2009 08:49:49 -0000	1.1.2.2
@@ -11,6 +11,7 @@
 import javax.activation.MimeType;
 
 import org.apache.commons.logging.Log;
+import org.apache.commons.logging.LogFactory;
 import org.w3c.unicorn.contract.EnumInputMethod;
 
 /**
@@ -23,7 +24,7 @@
 	/**
 	 * Object used for complex logging purpose
 	 */
-	private static final Log logger = InputModule.logger;
+	private static final Log logger = LogFactory.getLog(InputFactory.class);
 
 	/**
 	 * Used to create an inputModule
Received on Tuesday, 25 August 2009 08:50:06 UTC

This archive was generated by hypermail 2.3.1 : Wednesday, 7 January 2015 15:17:38 UTC