commit: renamed init() to initUnicorn()

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 UTC