- From: Julien Grand-Mourcel via cvs-syncmail <cvsmail@w3.org>
- Date: Thu, 13 Sep 2007 10:11:44 +0000
- To: www-validator-cvs@w3.org
Update of /sources/public/2002/css-validator/org/w3c/css/properties/css1 In directory hutz:/tmp/cvs-serv24438/org/w3c/css/properties/css1 Modified Files: Css1Style.java Log Message: adapting the new Warning constructor to its new signature (with a list of messages instead of just one or two messages before) Index: Css1Style.java =================================================================== RCS file: /sources/public/2002/css-validator/org/w3c/css/properties/css1/Css1Style.java,v retrieving revision 1.7 retrieving revision 1.8 diff -u -d -r1.7 -r1.8 --- Css1Style.java 8 Feb 2007 16:41:09 -0000 1.7 +++ Css1Style.java 13 Sep 2007 10:11:41 -0000 1.8 @@ -2816,8 +2816,8 @@ if (style.cssBackground.getColor() != null) { if (style.cssBackground.getColor().equals(cssColor.getColor())) { warnings.addWarning(new Warning(cssColor, "same-colors2", 1, - style.cssBackground.color.getSelectors().toString(), - cssColor.getSelectors().toString(), ac)); + new String[] { style.cssBackground.color.getSelectors().toString(), + cssColor.getSelectors().toString() }, ac)); } } } @@ -2844,8 +2844,8 @@ if (style.cssBackgroundCSS1.getColor() != null) { if (style.cssBackgroundCSS1.getColor().equals(cssColorCSS1.getColor())) { warnings.addWarning(new Warning(cssColorCSS1, "same-colors2", 1, - style.cssBackgroundCSS1.color.getSelectors().toString(), - cssColorCSS1.getSelectors().toString(), ac)); + new String[] { style.cssBackgroundCSS1.color.getSelectors().toString(), + cssColorCSS1.getSelectors().toString() }, ac)); } } } @@ -2872,8 +2872,8 @@ if (style.cssBackgroundCSS2.getColor() != null) { if (style.cssBackgroundCSS2.getColor().equals(cssColorCSS2.getColor())) { warnings.addWarning(new Warning(cssColorCSS2, "same-colors2", 1, - style.cssBackgroundCSS2.color.getSelectors().toString(), - cssColorCSS2.getSelectors().toString(), ac)); + new String[] { style.cssBackgroundCSS2.color.getSelectors().toString(), + cssColorCSS2.getSelectors().toString() }, ac)); } } } @@ -2902,7 +2902,7 @@ warnings.addWarning(new Warning(info.getSourceFile(), info.getLine(), "relative-absolute", 2, - "margin", "", ac)); + new String[] { "margin" }, ac)); } checker.reset(); @@ -2918,7 +2918,7 @@ warnings.addWarning(new Warning(info.getSourceFile(), info.getLine(), "relative-absolute", 2, - "margin", "", ac)); + new String[] { "margin" }, ac)); } checker.reset(); @@ -2934,7 +2934,7 @@ warnings.addWarning(new Warning(info.getSourceFile(), info.getLine(), "relative-absolute", 2, - "padding", "", ac)); + new String[] { "padding" }, ac)); } checker.reset(); @@ -2951,7 +2951,7 @@ warnings.addWarning(new Warning(info.getSourceFile(), info.getLine(), "relative-absolute", 2, - "padding", "", ac)); + new String[] { "padding" }, ac)); } if (Util.fromHTMLFile) {
Received on Thursday, 13 September 2007 10:11:46 UTC