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

2006/unicorn/src/org/w3c/unicorn/response/impl DefaultResponseXBeans.java,1.7,1.8 OldResponseXBeans.java,1.5,1.6

From: Thomas Gambet via cvs-syncmail <cvsmail@w3.org>
Date: Wed, 21 Oct 2009 16:01:12 +0000
To: www-validator-cvs@w3.org
Message-Id: <E1N0dce-0004ho-At@lionel-hutz.w3.org>
Update of /sources/public/2006/unicorn/src/org/w3c/unicorn/response/impl
In directory hutz:/tmp/cvs-serv18050/src/org/w3c/unicorn/response/impl

Modified Files:
	DefaultResponseXBeans.java OldResponseXBeans.java 
Log Message:
+ isUndef() method

Index: DefaultResponseXBeans.java
===================================================================
RCS file: /sources/public/2006/unicorn/src/org/w3c/unicorn/response/impl/DefaultResponseXBeans.java,v
retrieving revision 1.7
retrieving revision 1.8
diff -u -d -r1.7 -r1.8
--- DefaultResponseXBeans.java	20 Oct 2009 16:45:13 -0000	1.7
+++ DefaultResponseXBeans.java	21 Oct 2009 16:01:10 -0000	1.8
@@ -374,4 +374,10 @@
 		return sortedMap;
 	}
 
+	public boolean isUndef() {
+		if (getStatus() == UNDEF)
+			return true;
+		return false;
+	}
+
 }

Index: OldResponseXBeans.java
===================================================================
RCS file: /sources/public/2006/unicorn/src/org/w3c/unicorn/response/impl/OldResponseXBeans.java,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -d -r1.5 -r1.6
--- OldResponseXBeans.java	20 Oct 2009 16:45:14 -0000	1.5
+++ OldResponseXBeans.java	21 Oct 2009 16:01:10 -0000	1.6
@@ -299,5 +299,9 @@
 	public Map<String, Iterable<Message>> getURISortedMessages(String group) {
 		return null;
 	}
+
+	public boolean isUndef() {
+		return false;
+	}
 	
 }
Received on Wednesday, 21 October 2009 16:01:18 UTC

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