2002/css-validator/org/w3c/css/values CssLength.java,1.11,1.12

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

Modified Files:
	CssLength.java 
Log Message:
limit is already enforced

Index: CssLength.java
===================================================================
RCS file: /sources/public/2002/css-validator/org/w3c/css/values/CssLength.java,v
retrieving revision 1.11
retrieving revision 1.12
diff -u -d -r1.11 -r1.12
--- CssLength.java	7 Sep 2012 14:55:25 -0000	1.11
+++ CssLength.java	7 Sep 2012 15:13:42 -0000	1.12
@@ -123,7 +123,7 @@
 		while (unitIdx > 0 && c <= 'z' && c >= 'a') {
 			c = low_s.charAt(--unitIdx);
 		}
-		if (unitIdx == 0 || (unitIdx == length - 1)) {
+		if (unitIdx == length - 1) {
 			throw new InvalidParamException("unit", s, ac);
 		}
 		// we go back to the beginning of the unit

Received on Friday, 7 September 2012 15:13:45 UTC