2006/unicorn/src/org/w3c/unicorn Framework.java,1.18,1.19

Update of /sources/public/2006/unicorn/src/org/w3c/unicorn
In directory hutz:/tmp/cvs-serv16107/src/org/w3c/unicorn

Modified Files:
	Framework.java 
Log Message:
do not add complete=true to the default language properties before setting LanguageAction.defaultProperties

Index: Framework.java
===================================================================
RCS file: /sources/public/2006/unicorn/src/org/w3c/unicorn/Framework.java,v
retrieving revision 1.18
retrieving revision 1.19
diff -u -d -r1.18 -r1.19
--- Framework.java	2 Oct 2009 16:59:55 -0000	1.18
+++ Framework.java	5 Oct 2009 12:12:34 -0000	1.19
@@ -425,8 +425,8 @@
 		try {
 			defaultProps = Language.load(defaultLanguageFile);
 			logger.debug("> Found language (default): " + defaultProps.getProperty("lang") + " - " + defaultProps.getProperty("language"));
-			defaultProps.put("complete", "true");
 			LanguageAction.setDefaultProperties(defaultProps);
+			defaultProps.put("complete", "true");
 			languageProperties.put(Property.get("DEFAULT_LANGUAGE"), defaultProps);
 		} catch (IllegalArgumentException e) {
 			logger.warn(e.getMessage());

Received on Monday, 5 October 2009 12:12:40 UTC