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

2006/unicorn/src/org/w3c/unicorn Framework.java,1.1.2.17,1.1.2.18

From: Thomas Gambet via cvs-syncmail <cvsmail@w3.org>
Date: Mon, 24 Aug 2009 15:43:51 +0000
To: www-validator-cvs@w3.org
Message-Id: <E1Mfbi3-0006Jq-PI@lionel-hutz.w3.org>
Update of /sources/public/2006/unicorn/src/org/w3c/unicorn
In directory hutz:/tmp/cvs-serv24245/src/org/w3c/unicorn

Modified Files:
      Tag: dev2
	Framework.java 
Log Message:
new log configuration

Index: Framework.java
===================================================================
RCS file: /sources/public/2006/unicorn/src/org/w3c/unicorn/Attic/Framework.java,v
retrieving revision 1.1.2.17
retrieving revision 1.1.2.18
diff -u -d -r1.1.2.17 -r1.1.2.18
--- Framework.java	24 Aug 2009 12:50:59 -0000	1.1.2.17
+++ Framework.java	24 Aug 2009 15:43:49 -0000	1.1.2.18
@@ -20,7 +20,6 @@
 import java.util.LinkedHashMap;
 import java.util.Map;
 import java.util.Properties;
-import java.util.Set;
 import javax.xml.namespace.NamespaceContext;
 import javax.xml.parsers.ParserConfigurationException;
 
@@ -30,7 +29,6 @@
 import org.apache.velocity.VelocityContext;
 import org.apache.velocity.app.Velocity;
 import org.apache.velocity.app.VelocityEngine;
-import org.w3c.unicorn.action.ObserveAction;
 import org.w3c.unicorn.contract.Observer;
 import org.w3c.unicorn.contract.WADLUnmarshaller;
 import org.w3c.unicorn.contract.WADLUnmarshallerXPath;
@@ -45,7 +43,6 @@
 import org.w3c.unicorn.tasklist.TasksListUnmarshaller;
 import org.w3c.unicorn.util.ListFiles;
 import org.w3c.unicorn.util.Property;
-import org.w3c.unicorn.util.TemplateHelper;
 import org.w3c.unicorn.util.UCNProperties;
 
 import com.hp.hpl.jena.rdf.model.Model;
@@ -75,7 +72,7 @@
 	/**
 	 * Logger
 	 */
-	public static Log logger = LogFactory.getLog("Framework");
+	public static Log logger = LogFactory.getLog(Framework.class);
 	
 	/**
 	 * URI to unicorn home
@@ -529,8 +526,6 @@
 		
 		logger.info("OK - Velocity successfully initialized");
 		
-		//TemplateHelper.init();
-		
 		Framework.logger.info("Unicorn initialized successfully.");
 		isUcnInitialized = true;
 	}
Received on Monday, 24 August 2009 15:44:01 UTC

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