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

2002/css-validator/org/w3c/css/properties/paged Css2Style.java,1.2,1.3

From: Yves Lafon via cvs-syncmail <cvsmail@w3.org>
Date: Fri, 09 Sep 2011 12:16:48 +0000
To: www-validator-cvs@w3.org
Message-Id: <E1R200m-00050W-2O@lionel-hutz.w3.org>
Update of /sources/public/2002/css-validator/org/w3c/css/properties/paged
In directory hutz:/tmp/cvs-serv18813/properties/paged

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

Index: Css2Style.java
===================================================================
RCS file: /sources/public/2002/css-validator/org/w3c/css/properties/paged/Css2Style.java,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -d -r1.2 -r1.3
--- Css2Style.java	14 Sep 2005 15:15:26 -0000	1.2
+++ Css2Style.java	9 Sep 2011 12:16:45 -0000	1.3
@@ -8,8 +8,6 @@
  */
 package org.w3c.css.properties.paged;
 
-import org.w3c.css.parser.CssPrinterStyle;
-
 
 /**
  * @version $Revision$
@@ -182,57 +180,4 @@
 	return widowsATSC;
     }
 
-    /**
-     * Print this style.
-     *
-     * @param printer The printer interface.
-     */
-    public void print(CssPrinterStyle printer) {
-	super.print(printer);
-
-	if (size != null) {
-	    size.print(printer);
-	}
-	if (marks != null) {
-	    marks.print(printer);
-	}
- 	if (pageBreakBefore != null) {
-	    pageBreakBefore.print(printer);
-	}
-	if (pageBreakBeforeATSC != null) {
-	    pageBreakBeforeATSC.print(printer);
-	}
-
- 	if (pageBreakAfter != null) {
-	    pageBreakAfter.print(printer);
-	}
-	if (pageBreakAfterATSC != null) {
-	    pageBreakAfterATSC.print(printer);
-	}
- 	if (pageBreakInside != null) {
-	    pageBreakInside.print(printer);
-	}
-	if (pageBreakInsideATSC != null) {
-	    pageBreakInsideATSC.print(printer);
-	}
-  	if (page != null) {
-	    page.print(printer);
-	}
-	if (pageATSC != null) {
-	    pageATSC.print(printer);
-	}
-  	if (orphans != null) {
-	    orphans.print(printer);
-	}
-	if (orphansATSC != null) {
-	    orphansATSC.print(printer);
-	}
-  	if (widows != null) {
-	    widows.print(printer);
-	}
-	if (widowsATSC != null) {
-	    widowsATSC.print(printer);
-	}
-    }
-
 }
Received on Friday, 9 September 2011 12:16:52 UTC

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