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

commit: renamed init() to initUnicorn()

From: Mercurial notifier <nobody@w3.org>
Date: Mon, 14 Jun 2010 09:22:33 -0400
To: Unicorn Updates <www-validator-cvs@w3.org>
Message-Id: <E1OO9cX-00066J-2l@blinky.w3.org>
changeset:   1202:f4b6ce0511e8
user:        Thomas Gambet <tgambet@w3.org>
date:        Fri Jun 11 14:18:13 2010 -0400
files:       src/org/w3c/unicorn/Framework.java
description:
renamed init() to initUnicorn()


diff -r 1c8756b2bed7 -r f4b6ce0511e8 src/org/w3c/unicorn/Framework.java
--- a/src/org/w3c/unicorn/Framework.java	Fri Jun 11 14:12:46 2010 -0400
+++ b/src/org/w3c/unicorn/Framework.java	Fri Jun 11 14:18:13 2010 -0400
@@ -114,7 +114,7 @@
 	/**
 	 * Initialize Unicorn
 	 */
-	public static void init() {
+	public static void initUnicorn() {
 		isUcnInitialized = false;
 		reset();
 		try {
@@ -159,9 +159,9 @@
 			DOMConfigurator.configure(log4jPath);
 			logger.info("OK - JVM parameter \"unicorn.home\" was found: " + unicornHome.getPath());
 			logger.info("OK - Log4j successfully initialized");
-			logger.debug("> Used log4j.properties file: " + log4jPath);
+			logger.debug("> Used log4j.xml file: " + log4jPath);
 		} else {
-			logger.warn("Log4j config file \"log4j.properties\" could not be found: " + log4jPath);
+			logger.warn("Log4j config file \"log4j.xml\" could not be found: " + log4jPath);
 			logger.warn("Log4j will not be initialized");
 		}
 	}
@@ -635,4 +635,5 @@
 	public static Task getDefaultTask() {
 		return mapOfTask.getDefaultTask();
 	}
+
 }
Received on Monday, 14 June 2010 13:25:06 GMT

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