W3C home > Mailing lists > Public > www-validator-cvs@w3.org > October 2009

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

From: Thomas Gambet via cvs-syncmail <cvsmail@w3.org>
Date: Mon, 05 Oct 2009 12:12:36 +0000
To: www-validator-cvs@w3.org
Message-Id: <E1MumQe-0004C5-Ps@lionel-hutz.w3.org>
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

This archive was generated by hypermail 2.3.1 : Wednesday, 7 January 2015 15:17:39 UTC