- From: Thomas Gambet via cvs-syncmail <cvsmail@w3.org>
- Date: Mon, 31 Aug 2009 12:00:33 +0000
- To: www-validator-cvs@w3.org
Update of /sources/public/2006/unicorn/src/org/w3c/unicorn In directory hutz:/tmp/cvs-serv1641/src/org/w3c/unicorn Modified Files: Framework.java Log Message: sets isUcnInitialized boolean Index: Framework.java =================================================================== RCS file: /sources/public/2006/unicorn/src/org/w3c/unicorn/Framework.java,v retrieving revision 1.4 retrieving revision 1.5 diff -u -d -r1.4 -r1.5 --- Framework.java 31 Aug 2009 11:35:55 -0000 1.4 +++ Framework.java 31 Aug 2009 12:00:31 -0000 1.5 @@ -84,7 +84,7 @@ /** * True if initialization did not throw any exception */ - public static boolean isUcnInitialized = false; + public static boolean isUcnInitialized; private static Hashtable<String, Properties> unicornPropertiesFiles; private static Hashtable<String, VelocityContext> languageContexts; private static Hashtable<String, Properties> languageProperties; @@ -109,6 +109,7 @@ * Initialize Unicorn */ public static void init() { + isUcnInitialized = false; reset(); try { initCore(); @@ -119,6 +120,7 @@ initTasklists(); initLanguages(); initVelocity(); + isUcnInitialized = true; } catch (InitializationFailedException e) { logger.fatal(e.getMessage(), e); }
Received on Monday, 31 August 2009 12:00:43 UTC