2006/unicorn/src/org/w3c/unicorn/util Language.java,1.3,1.4

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

Modified Files:
	Language.java 
Log Message:
fixed broken string comparison 

Index: Language.java
===================================================================
RCS file: /sources/public/2006/unicorn/src/org/w3c/unicorn/util/Language.java,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -d -r1.3 -r1.4
--- Language.java	30 Sep 2009 09:35:19 -0000	1.3
+++ Language.java	30 Sep 2009 09:44:28 -0000	1.4
@@ -74,7 +74,7 @@
 	}
 
 	public static boolean isComplete(String langParameter) {
-		return Framework.getLanguageProperties().get(langParameter).get("complete") == "true";
+		return Framework.getLanguageProperties().get(langParameter).get("complete").equals("true");
 	}
 	
 }

Received on Wednesday, 30 September 2009 09:44:32 UTC