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

2002/css-validator/org/w3c/css/properties/css CssBreakInside.java,1.4,1.5

From: Yves Lafon via cvs-syncmail <cvsmail@w3.org>
Date: Fri, 24 Aug 2012 07:33:53 +0000
To: www-validator-cvs@w3.org
Message-Id: <E1T4oOv-0004td-3T@lionel-hutz.w3.org>
Update of /sources/public/2002/css-validator/org/w3c/css/properties/css
In directory hutz:/tmp/cvs-serv18771/css

Modified Files:
	CssBreakInside.java 
Log Message:
ident case sensitivity

Index: CssBreakInside.java
===================================================================
RCS file: /sources/public/2002/css-validator/org/w3c/css/properties/css/CssBreakInside.java,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -d -r1.4 -r1.5
--- CssBreakInside.java	7 Oct 2011 09:33:19 -0000	1.4
+++ CssBreakInside.java	24 Aug 2012 07:33:51 -0000	1.5
@@ -21,99 +21,99 @@
 
 public class CssBreakInside extends CssProperty {
 
-    CssValue value;
+	public CssValue value;
 
-    /**
-     * Create a new CssColumnWidth
-     */
-    public CssBreakInside() {
-    }
+	/**
+	 * Create a new CssBreakInside
+	 */
+	public CssBreakInside() {
+	}
 
-    /**
-     * Create a new CssBreakInside
-     *
-     * @param expression The expression for this property
-     * @throws InvalidParamException Incorrect value
-     */
-    public CssBreakInside(ApplContext ac, CssExpression expression,
-                          boolean check) throws InvalidParamException {
-        throw new InvalidParamException("unrecognize", ac);
-    }
+	/**
+	 * Create a new CssBreakInside
+	 *
+	 * @param expression The expression for this property
+	 * @throws InvalidParamException Incorrect value
+	 */
+	public CssBreakInside(ApplContext ac, CssExpression expression,
+						  boolean check) throws InvalidParamException {
+		throw new InvalidParamException("unrecognize", ac);
+	}
 
-    public CssBreakInside(ApplContext ac, CssExpression expression)
-            throws InvalidParamException {
-        this(ac, expression, false);
-    }
+	public CssBreakInside(ApplContext ac, CssExpression expression)
+			throws InvalidParamException {
+		this(ac, expression, false);
+	}
 
-    /**
-     * Add this property to the CssStyle
-     *
-     * @param style The CssStyle
-     */
-    public void addToStyle(ApplContext ac, CssStyle style) {
-        if (((Css3Style) style).cssBreakInside != null)
-            style.addRedefinitionWarning(ac, this);
-        ((Css3Style) style).cssBreakInside = this;
-    }
+	/**
+	 * Add this property to the CssStyle
+	 *
+	 * @param style The CssStyle
+	 */
+	public void addToStyle(ApplContext ac, CssStyle style) {
+		if (((Css3Style) style).cssBreakInside != null)
+			style.addRedefinitionWarning(ac, this);
+		((Css3Style) style).cssBreakInside = this;
+	}
 
-    /**
-     * Get this property in the style.
-     *
-     * @param style   The style where the property is
-     * @param resolve if true, resolve the style to find this property
-     */
-    public CssProperty getPropertyInStyle(CssStyle style, boolean resolve) {
-        if (resolve) {
-            return ((Css3Style) style).getBreakInside();
-        } else {
-            return ((Css3Style) style).cssBreakInside;
-        }
-    }
+	/**
+	 * Get this property in the style.
+	 *
+	 * @param style   The style where the property is
+	 * @param resolve if true, resolve the style to find this property
+	 */
+	public CssProperty getPropertyInStyle(CssStyle style, boolean resolve) {
+		if (resolve) {
+			return ((Css3Style) style).getBreakInside();
+		} else {
+			return ((Css3Style) style).cssBreakInside;
+		}
+	}
 
-    /**
-     * Compares two properties for equality.
-     *
-     * @param property The other property.
-     */
-    public boolean equals(CssProperty property) {
-        return (property instanceof CssBreakInside &&
-                value.equals(((CssBreakInside) property).value));
-    }
+	/**
+	 * Compares two properties for equality.
+	 *
+	 * @param property The other property.
+	 */
+	public boolean equals(CssProperty property) {
+		return (property instanceof CssBreakInside &&
+				value.equals(((CssBreakInside) property).value));
+	}
 
-    /**
-     * Returns the name of this property
-     */
-    public final String getPropertyName() {
-        return "break-inside";
-    }
+	/**
+	 * Returns the name of this property
+	 */
+	public final String getPropertyName() {
+		return "break-inside";
+	}
 
-    /**
-     * Returns the value of this property
-     */
-    public Object get() {
-        return value;
-    }
+	/**
+	 * Returns the value of this property
+	 */
+	public Object get() {
+		return value;
+	}
 
-    /**
-     * Returns true if this property is "softly" inherited
-     */
-    public boolean isSoftlyInherited() {
-        return (inherit == value);
-    }
+	/**
+	 * Returns true if this property is "softly" inherited
+	 */
+	public boolean isSoftlyInherited() {
+		return (inherit == value);
+	}
 
-    /**
-     * Returns a string representation of the object
-     */
-    public String toString() {
-        return value.toString();
-    }
+	/**
+	 * Returns a string representation of the object
+	 */
+	public String toString() {
+		return value.toString();
+	}
 
-    /**
-     * Is the value of this property a default value
-     * It is used by all macro for the function <code>print</code>
-     */
-    public boolean isDefault() {
-        return false;
-    }
+	/**
+	 * Is the value of this property a default value
+	 * It is used by all macro for the function <code>print</code>
+	 */
+	public boolean isDefault() {
+		return false;
+	}
 
 }
Received on Friday, 24 August 2012 07:33:54 UTC

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