2006/unicorn/src/org/w3c/unicorn/util Language.java,1.20,1.21

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

Modified Files:
	Language.java 
Log Message:
fixed isComplete function

Index: Language.java
===================================================================
RCS file: /sources/public/2006/unicorn/src/org/w3c/unicorn/util/Language.java,v
retrieving revision 1.20
retrieving revision 1.21
diff -u -d -r1.20 -r1.21
--- Language.java	21 Mar 2010 22:32:35 -0000	1.20
+++ Language.java	22 Mar 2010 17:43:08 -0000	1.21
@@ -150,19 +150,19 @@
 	
 	public static boolean isComplete(ULocale localeParam) {
 		Properties testedProps = LanguageAction.getLanguageProperties().get(localeParam);
-		Properties testedMetadataProps = Framework.getMetadataProperties().get(localeParam);
+		Properties testedMetadataProps = LanguageAction.getMetadataProperties().get(localeParam);
 		
 		if (testedProps == null)
 			return false;
 		
 		if (testedProps.get("complete") == null) {
-			for (Object key : Framework.getLanguageProperties().get(defaultLocale).keySet()) {
+			for (Object key : LanguageAction.getLanguageProperties().get(defaultLocale).keySet()) {
 				if (!testedProps.containsKey(key) && key != "complete") {
 					testedProps.put("complete", "false");
 					return false;
 				}
 			}
-			for (Object key : Framework.getMetadataProperties().get(defaultLocale).keySet()) {
+			for (Object key : LanguageAction.getMetadataProperties().get(defaultLocale).keySet()) {
 				if (!testedMetadataProps.containsKey(key)) {
 					testedProps.put("complete", "false");
 					return false;

Received on Monday, 22 March 2010 17:43:12 UTC