W3C home > Mailing lists > Public > www-validator-cvs@w3.org > September 2011

2002/css-validator/org/w3c/css/parser CssStyle.java,1.10,1.11 CssPrinterStyle.java,1.5,NONE

From: Yves Lafon via cvs-syncmail <cvsmail@w3.org>
Date: Fri, 09 Sep 2011 12:16:43 +0000
To: www-validator-cvs@w3.org
Message-Id: <E1R201B-0004vd-M3@lionel-hutz.w3.org>
Update of /sources/public/2002/css-validator/org/w3c/css/parser
In directory hutz:/tmp/cvs-serv18813/parser

Modified Files:
	CssStyle.java 
Removed Files:
	CssPrinterStyle.java 
Log Message:
code cleanup, removed dead code, starting reorg of azimuth (others to follow)

--- CssPrinterStyle.java DELETED ---

Index: CssStyle.java
===================================================================
RCS file: /sources/public/2002/css-validator/org/w3c/css/parser/CssStyle.java,v
retrieving revision 1.10
retrieving revision 1.11
diff -u -d -r1.10 -r1.11
--- CssStyle.java	5 Jan 2010 13:49:33 -0000	1.10
+++ CssStyle.java	9 Sep 2011 12:16:41 -0000	1.11
@@ -20,83 +20,74 @@
  */
 public class CssStyle {
 
-  /**
-   * For warnings report.
-   */
-  protected Warnings warnings;
+    /**
+     * For warnings report.
+     */
+    protected Warnings warnings;
 
-  /**
-   * The entire style sheet.
-   */
-  protected StyleSheet style;
+    /**
+     * The entire style sheet.
+     */
+    protected StyleSheet style;
 
-  /**
-   * The context of this style.
-   */
-  protected CssSelectors selector;
+    /**
+     * The context of this style.
+     */
+    protected CssSelectors selector;
 
-  /**
-   * Set the context of this style.
-   *
-   * @param selectors The context.
-   */
-  public final void setSelector(CssSelectors selectors) {
-      this.selector = selectors;
-  }
+    /**
+     * Set the context of this style.
+     *
+     * @param selectors The context.
+     */
+    public final void setSelector(CssSelectors selectors) {
+        this.selector = selectors;
+    }
 //public String toString() {
 //    String res = "";
 //    res += selector;
 //    res+=style;
 //    return res;
 //}
-  /**
-   * Set the style sheet of this style.
-   *
-   * @param style The style sheet.
-   */
-  public final void setStyleSheet(StyleSheet style) {
-    this.style = style;
-  }
 
-  /**
-   * Add a warning definition to this style.
-   *
-   * @param property The property.
-   */
-  public final void addRedefinitionWarning(ApplContext ac,
-					   CssProperty property) {
-    warnings.addWarning(new Warning(property, "redefinition", 2, ac));
-  }
+    /**
+     * Set the style sheet of this style.
+     *
+     * @param style The style sheet.
+     */
+    public final void setStyleSheet(StyleSheet style) {
+        this.style = style;
+    }
 
-  /**
-   * Add a property to this style
-   *
-   * @param property the property to add
-   * @param warnings where to add warnings if required
-   */
-  public final void setProperty(ApplContext ac, CssProperty property, Warnings warnings) {
-    this.warnings = warnings;
-    property.addToStyle(ac, this);
-  }
+    /**
+     * Add a warning definition to this style.
+     *
+     * @param property The property.
+     */
+    public final void addRedefinitionWarning(ApplContext ac,
+                                             CssProperty property) {
+        warnings.addWarning(new Warning(property, "redefinition", 2, ac));
+    }
 
-  /**
-   * Print this style.
-   * Overrides this method to create your own style.
-   *
-   * @param printer The printer interface.
-   */
-  public void print(CssPrinterStyle printer) {
-    // nothing to do
-  }
+    /**
+     * Add a property to this style
+     *
+     * @param property the property to add
+     * @param warnings where to add warnings if required
+     */
+    public final void setProperty(ApplContext ac, CssProperty property, Warnings warnings) {
+        this.warnings = warnings;
+        property.addToStyle(ac, this);
+    }
 
-  /**
-   * Find conflicts in this Style
-   *
-   * @param warnings For warnings reports.
-   * @param allSelectors All contexts is the entire style sheet.
-   */
+    /**
+     * Find conflicts in this Style
+     *
+     * @param warnings     For warnings reports.
+     * @param allSelectors All contexts is the entire style sheet.
+     */
     public void findConflicts(ApplContext ac, Warnings warnings,
-			      CssSelectors selector, CssSelectors[] allSelectors) {
-    // nothing to do
-  }
+                              CssSelectors selector, CssSelectors[] allSelectors) {
+        // nothing to do
+    }
 }
Received on Friday, 9 September 2011 12:17:18 UTC

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