- From: Yves Lafon via cvs-syncmail <cvsmail@w3.org>
- Date: Fri, 24 Aug 2012 07:33:42 +0000
- To: www-validator-cvs@w3.org
Update of /sources/public/2002/css-validator/org/w3c/css/properties/css
In directory hutz:/tmp/cvs-serv18638/css
Modified Files:
CssBreakAfter.java
Log Message:
ident case sensitivity
Index: CssBreakAfter.java
===================================================================
RCS file: /sources/public/2002/css-validator/org/w3c/css/properties/css/CssBreakAfter.java,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -d -r1.4 -r1.5
--- CssBreakAfter.java 7 Oct 2011 09:33:19 -0000 1.4
+++ CssBreakAfter.java 24 Aug 2012 07:33:40 -0000 1.5
@@ -21,100 +21,99 @@
public class CssBreakAfter extends CssProperty {
+ public CssValue value;
- CssValue value;
-
- /**
- * Create a new CssColumnWidth
- */
- public CssBreakAfter() {
- }
+ /**
+ * Create a new CssBreakAfter
+ */
+ public CssBreakAfter() {
+ }
- /**
- * Create a new CssBreakAfter
- *
- * @param expression The expression for this property
- * @throws InvalidParamException Incorrect value
- */
- public CssBreakAfter(ApplContext ac, CssExpression expression,
- boolean check) throws InvalidParamException {
- throw new InvalidParamException("unrecognize", ac);
- }
+ /**
+ * Create a new CssBreakAfter
+ *
+ * @param expression The expression for this property
+ * @throws InvalidParamException Incorrect value
+ */
+ public CssBreakAfter(ApplContext ac, CssExpression expression,
+ boolean check) throws InvalidParamException {
+ throw new InvalidParamException("unrecognize", ac);
+ }
- public CssBreakAfter(ApplContext ac, CssExpression expression)
- throws InvalidParamException {
- this(ac, expression, false);
- }
+ public CssBreakAfter(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).cssBreakAfter != null)
- style.addRedefinitionWarning(ac, this);
- ((Css3Style) style).cssBreakAfter = this;
- }
+ /**
+ * Add this property to the CssStyle
+ *
+ * @param style The CssStyle
+ */
+ public void addToStyle(ApplContext ac, CssStyle style) {
+ if (((Css3Style) style).cssBreakAfter != null)
+ style.addRedefinitionWarning(ac, this);
+ ((Css3Style) style).cssBreakAfter = 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).getBreakAfter();
- } else {
- return ((Css3Style) style).cssBreakAfter;
- }
- }
+ /**
+ * 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).getBreakAfter();
+ } else {
+ return ((Css3Style) style).cssBreakAfter;
+ }
+ }
- /**
- * Compares two properties for equality.
- *
- * @param property The other property.
- */
- public boolean equals(CssProperty property) {
- return (property instanceof CssBreakAfter &&
- value.equals(((CssBreakAfter) property).value));
- }
+ /**
+ * Compares two properties for equality.
+ *
+ * @param property The other property.
+ */
+ public boolean equals(CssProperty property) {
+ return (property instanceof CssBreakAfter &&
+ value.equals(((CssBreakAfter) property).value));
+ }
- /**
- * Returns the name of this property
- */
- public final String getPropertyName() {
- return "break-after";
- }
+ /**
+ * Returns the name of this property
+ */
+ public final String getPropertyName() {
+ return "break-after";
+ }
- /**
- * 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:48 UTC