Changeset 231:76de0c5bda8d
- Timestamp:
- 08/31/09 12:00:31 (4 years ago)
- Author:
- tgambet
- Branch:
- default
- convert_revision:
- svn:cdcfb263-7567-472c-a848-e2c2df3466e7/trunk@232
- Message:
-
sets isUcnInitialized boolean
- Files:
-
Legend:
- Unmodified
- Added
- Removed
-
|
r229
|
r231
|
|
| 1 | | // $Id: Framework.java,v 1.4 2009-08-31 11:35:55 tgambet Exp $ |
| | 1 | // $Id: Framework.java,v 1.5 2009-08-31 12:00:31 tgambet Exp $ |
| 2 | 2 | // Author: Damien LEROY. |
| 3 | 3 | // (c) COPYRIGHT MIT, ERCIM ant Keio, 2006. |
| … |
… |
|
| 85 | 85 | * True if initialization did not throw any exception |
| 86 | 86 | */ |
| 87 | | public static boolean isUcnInitialized = false; |
| | 87 | public static boolean isUcnInitialized; |
| 88 | 88 | private static Hashtable<String, Properties> unicornPropertiesFiles; |
| 89 | 89 | private static Hashtable<String, VelocityContext> languageContexts; |
| … |
… |
|
| 110 | 110 | */ |
| 111 | 111 | public static void init() { |
| | 112 | isUcnInitialized = false; |
| 112 | 113 | reset(); |
| 113 | 114 | try { |
| … |
… |
|
| 120 | 121 | initLanguages(); |
| 121 | 122 | initVelocity(); |
| | 123 | isUcnInitialized = true; |
| 122 | 124 | } catch (InitializationFailedException e) { |
| 123 | 125 | logger.fatal(e.getMessage(), e); |