- 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
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 UTC