- From: Yves Lafon via cvs-syncmail <cvsmail@w3.org>
- Date: Wed, 14 Sep 2005 15:15:00 +0000
- To: www-validator-cvs@w3.org
Update of /sources/public/2002/css-validator/org/w3c/css/properties/css2
In directory hutz:/tmp/cvs-serv9389/org/w3c/css/properties/css2
Modified Files:
Css2Properties.java
Log Message:
>From Jean-Guilhem Rouel (again!)
Reformatting of code
Fix for bug 774 [1] (even more warnings)
Fix for bug 768 [2]
Modification of the soap output format (each warning list and error list has
the URI it refers to)
[1] http://www.w3.org/Bugs/Public/show_bug.cgi?id=774
[2] http://www.w3.org/Bugs/Public/show_bug.cgi?id=768
Index: Css2Properties.java
===================================================================
RCS file: /sources/public/2002/css-validator/org/w3c/css/properties/css2/Css2Properties.java,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -d -r1.1 -r1.2
--- Css2Properties.java 23 Aug 2005 16:24:19 -0000 1.1
+++ Css2Properties.java 14 Sep 2005 15:14:58 -0000 1.2
@@ -16,15 +16,15 @@
*/
public class Css2Properties {
public static Utf8Properties properties;
-
+
public static String getString(CssProperty property, String prop) {
return properties.getProperty(property.getPropertyName() + "." + prop);
}
-
+
public static boolean getInheritance(CssProperty property) {
return getString(property, "inherited").equals("true");
}
-
+
static {
properties = new Utf8Properties();
try {
Received on Wednesday, 14 September 2005 15:16:31 UTC