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

Update of /sources/public/2002/css-validator/org/w3c/css/properties/css
In directory hutz:/tmp/cvs-serv18519/css

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

Index: CssBreakBefore.java
===================================================================
RCS file: /sources/public/2002/css-validator/org/w3c/css/properties/css/CssBreakBefore.java,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -d -r1.4 -r1.5
--- CssBreakBefore.java	7 Oct 2011 09:33:19 -0000	1.4
+++ CssBreakBefore.java	24 Aug 2012 07:33:32 -0000	1.5
@@ -21,104 +21,102 @@
 
 public class CssBreakBefore extends CssProperty {
 
+	public CssValue value;
 
-    CssValue value;
-
-
-    /**
-     * Create a new CssColumnWidth
-     */
-    public CssBreakBefore() {
-    }
+	/**
+	 * Create a new CssBreakBefore
+	 */
+	public CssBreakBefore() {
+	}
 
-    /**
-     * Create a new CssBreakBefore
-     *
-     * @param ac         the context
-     * @param expression The expression for this property
-     * @param check      if checking is needed
-     * @throws InvalidParamException Incorrect value
-     */
-    public CssBreakBefore(ApplContext ac, CssExpression expression,
-                          boolean check) throws InvalidParamException {
+	/**
+	 * Create a new CssBreakBefore
+	 *
+	 * @param ac         the context
+	 * @param expression The expression for this property
+	 * @param check      if checking is needed
+	 * @throws InvalidParamException Incorrect value
+	 */
+	public CssBreakBefore(ApplContext ac, CssExpression expression,
+						  boolean check) throws InvalidParamException {
 
-            throw new InvalidParamException("unrecognize", ac);
-    }
+		throw new InvalidParamException("unrecognize", ac);
+	}
 
-    public CssBreakBefore(ApplContext ac, CssExpression expression)
-            throws InvalidParamException {
-        this(ac, expression, false);
-    }
+	public CssBreakBefore(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).cssBreakBefore != null)
-            style.addRedefinitionWarning(ac, this);
-        ((Css3Style) style).cssBreakBefore = this;
-    }
+	/**
+	 * Add this property to the CssStyle
+	 *
+	 * @param style The CssStyle
+	 */
+	public void addToStyle(ApplContext ac, CssStyle style) {
+		if (((Css3Style) style).cssBreakBefore != null)
+			style.addRedefinitionWarning(ac, this);
+		((Css3Style) style).cssBreakBefore = 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).getBreakBefore();
-        } else {
-            return ((Css3Style) style).cssBreakBefore;
-        }
-    }
+	/**
+	 * 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).getBreakBefore();
+		} else {
+			return ((Css3Style) style).cssBreakBefore;
+		}
+	}
 
-    /**
-     * Compares two properties for equality.
-     *
-     * @param property The other property.
-     */
-    public boolean equals(CssProperty property) {
-        return (property instanceof CssBreakBefore &&
-                value.equals(((CssBreakBefore) property).value));
-    }
+	/**
+	 * Compares two properties for equality.
+	 *
+	 * @param property The other property.
+	 */
+	public boolean equals(CssProperty property) {
+		return (property instanceof CssBreakBefore &&
+				value.equals(((CssBreakBefore) property).value));
+	}
 
-    /**
-     * Returns the name of this property
-     */
-    public final String getPropertyName() {
-        return "break-before";
-    }
+	/**
+	 * Returns the name of this property
+	 */
+	public final String getPropertyName() {
+		return "break-before";
+	}
 
-    /**
-     * 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:46 UTC