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

2006/unicorn/src/org/w3c/unicorn/response/impl DefaultResponseXBeans.java,1.11,1.12

From: Thomas Gambet via cvs-syncmail <cvsmail@w3.org>
Date: Fri, 23 Oct 2009 12:59:16 +0000
To: www-validator-cvs@w3.org
Message-Id: <E1N1Jjg-00053u-EI@lionel-hutz.w3.org>
Update of /sources/public/2006/unicorn/src/org/w3c/unicorn/response/impl
In directory hutz:/tmp/cvs-serv19292/src/org/w3c/unicorn/response/impl

Modified Files:
	DefaultResponseXBeans.java 
Log Message:
attribute lang is now mandatory on <observationresponse>

Index: DefaultResponseXBeans.java
===================================================================
RCS file: /sources/public/2006/unicorn/src/org/w3c/unicorn/response/impl/DefaultResponseXBeans.java,v
retrieving revision 1.11
retrieving revision 1.12
diff -u -d -r1.11 -r1.12
--- DefaultResponseXBeans.java	23 Oct 2009 12:36:12 -0000	1.11
+++ DefaultResponseXBeans.java	23 Oct 2009 12:59:14 -0000	1.12
@@ -390,7 +390,7 @@
 	}
 
 	public String getLang() {
-		return or.isSetLang() ? or.getLang() : Property.get("DEFAULT_LANGUAGE");
+		return or.getLang();
 	}
 
 }
Received on Friday, 23 October 2009 12:59:21 GMT

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