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

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

From: Thomas Gambet via cvs-syncmail <cvsmail@w3.org>
Date: Wed, 30 Sep 2009 09:44:30 +0000
To: www-validator-cvs@w3.org
Message-Id: <E1Msvja-0007yq-Fl@lionel-hutz.w3.org>
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 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Thursday, 26 April 2012 12:55:14 GMT