W3C home > Mailing lists > Public > www-validator-cvs@w3.org > July 2007

2002/css-validator/org/w3c/css/css CssRuleList.java,1.16,1.17

From: Julien Grand-Mourcel via cvs-syncmail <cvsmail@w3.org>
Date: Tue, 31 Jul 2007 09:59:40 +0000
To: www-validator-cvs@w3.org
Message-Id: <E1IFoVw-00049y-7d@lionel-hutz.w3.org>

Update of /sources/public/2002/css-validator/org/w3c/css/css
In directory hutz:/tmp/cvs-serv15951/org/w3c/css/css

Modified Files:
	CssRuleList.java 
Log Message:
add the isEmpty method so we know when there is no rules in the rule list.
Very useful for the templates

Index: CssRuleList.java
===================================================================
RCS file: /sources/public/2002/css-validator/org/w3c/css/css/CssRuleList.java,v
retrieving revision 1.16
retrieving revision 1.17
diff -u -d -r1.16 -r1.17
--- CssRuleList.java	30 Jul 2007 11:34:38 -0000	1.16
+++ CssRuleList.java	31 Jul 2007 09:59:37 -0000	1.17
@@ -40,6 +40,10 @@
 	public String getAtRule() {
 		return atRuleString;
 	}
+	
+	public boolean isEmpty() {
+		return rulelist.isEmpty();
+	}
 
 	public String toString() {
 		StringBuffer ret = new StringBuffer();
Received on Tuesday, 31 July 2007 09:59:50 GMT

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