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

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

From: Yves Lafon via cvs-syncmail <cvsmail@w3.org>
Date: Fri, 09 Sep 2011 12:16:47 +0000
To: www-validator-cvs@w3.org
Message-Id: <E1R200l-0004zx-GX@lionel-hutz.w3.org>
Update of /sources/public/2002/css-validator/org/w3c/css/properties/css2/font
In directory hutz:/tmp/cvs-serv18813/properties/css2/font

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/css2/font/Css2Style.java,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -d -r1.2 -r1.3
--- Css2Style.java	14 Sep 2005 15:14:58 -0000	1.2
+++ Css2Style.java	9 Sep 2011 12:16:45 -0000	1.3
@@ -8,8 +8,6 @@
  */
 package org.w3c.css.properties.css2.font;
 
-import org.w3c.css.parser.CssPrinterStyle;
-
 /**
  * @version $Revision$
  */
@@ -210,84 +208,4 @@
     }
 
 
-    /**
-     * Print this style.
-     *
-     * @param printer The printer interface.
-     */
-    public void print(CssPrinterStyle printer) {
-	super.print(printer);
-	if (fontFamily != null) {
-	    fontFamily.print(printer);
-	}
-	if (fontStyle != null) {
-	    fontStyle.print(printer);
-	}
-	if (fontVariant != null) {
-	    fontVariant.print(printer);
-	}
-	if (fontWeight != null) {
-	    fontWeight.print(printer);
-	}
-	if (fontStretch != null) {
-	    fontStretch.print(printer);
-	}
-	if (fontSize != null) {
-	    fontSize.print(printer);
-	}
-	if (unitsPerEm != null) {
-	    unitsPerEm.print(printer);
-	}
-	if (src != null) {
-	    src.print(printer);
-	}
-	if (panose1 != null) {
-	    panose1.print(printer);
-	}
-	if (widths != null) {
-	    widths.print(printer);
-	}
-	if (bbox != null) {
-	    bbox.print(printer);
-	}
-	if (stemv != null) {
-	    stemv.print(printer);
-	}
-	if (stemv != null) {
-	    stemv.print(printer);
-	}
-	if (stemh != null) {
-	    stemh.print(printer);
-	}
-	if (slope != null) {
-	    slope.print(printer);
-	}
-	if (ascent != null) {
-	    ascent.print(printer);
-	}
-	if (descent != null) {
-	    descent.print(printer);
-	}
-	if (capHeight != null) {
-	    capHeight.print(printer);
-	}
-	if (xHeight != null) {
-	    xHeight.print(printer);
-	}
-	if (baseline != null) {
-	    baseline.print(printer);
-	}
-	if (centerline != null) {
-	    centerline.print(printer);
-	}
-	if (mathline != null) {
-	    mathline.print(printer);
-	}
-	if (topline != null) {
-	    topline.print(printer);
-	}
-	if (definitionSrc != null) {
-	    definitionSrc.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