W3C home > Mailing lists > Public > www-validator-cvs@w3.org > November 2012

2002/css-validator/org/w3c/css/properties/css3 CssBackground.java,1.7,1.8

From: Yves Lafon via cvs-syncmail <cvsmail@w3.org>
Date: Fri, 02 Nov 2012 09:48:08 +0000
To: www-validator-cvs@w3.org
Message-Id: <E1TUDrE-0007HL-PA@lionel-hutz.w3.org>
Update of /sources/public/2002/css-validator/org/w3c/css/properties/css3
In directory hutz:/tmp/cvs-serv27955/css3

Modified Files:
	CssBackground.java 
Log Message:
minot tweak

Index: CssBackground.java
===================================================================
RCS file: /sources/public/2002/css-validator/org/w3c/css/properties/css3/CssBackground.java,v
retrieving revision 1.7
retrieving revision 1.8
diff -u -d -r1.7 -r1.8
--- CssBackground.java	23 Oct 2012 10:22:31 -0000	1.7
+++ CssBackground.java	2 Nov 2012 09:48:05 -0000	1.8
@@ -32,8 +32,8 @@
 public class CssBackground extends org.w3c.css.properties.css.CssBackground {
 
 	/**
-	 *  Create a new CssBackground
-     */
+	 * Create a new CssBackground
+	 */
 	public CssBackground() {
 		value = initial;
 	}
@@ -516,7 +516,7 @@
 				// the infamous switch...
 				// note that we should check that we got something first.
 				case CssTypes.CSS_SWITCH:
-					if (!prev_is_position){
+					if (!prev_is_position) {
 						throw new InvalidParamException("operator", val,
 								getPropertyName(), ac);
 					}
@@ -806,9 +806,9 @@
 			}
 			if (bg_position != null) {
 				sb.append(bg_position).append(' ');
-			}
-			if (bg_size != null) {
-				sb.append('/').append(bg_size).append(' ');
+				if (bg_size != null) {
+					sb.append('/').append(bg_size).append(' ');
+				}
 			}
 			if (repeat_style != null) {
 				sb.append(repeat_style).append(' ');
Received on Friday, 2 November 2012 09:48:09 UTC

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