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

[Bug 19011] Wrong validation of length 0.0 - use value.compareTo(BigDecimal.ZERO)==0 instead of value.equals(BigDecimal.ZERO) - [WITH PATCH]

From: <bugzilla@jessica.w3.org>
Date: Fri, 28 Sep 2012 18:38:33 +0000
Message-Id: <E1THfSL-0000AM-KY@jessica.w3.org>
To: www-validator-cvs@w3.org
https://www.w3.org/Bugs/Public/show_bug.cgi?id=19011

Yves Lafon <ylafon@w3.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |FIXED

--- Comment #2 from Yves Lafon <ylafon@w3.org> 2012-09-28 18:38:33 UTC ---
It is indeed an issue, thanks for finding it and for providing a patch!
I expanded it a bit to cover Resolution and other improper use of equals.

-- 
Configure bugmail: https://www.w3.org/Bugs/Public/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
Received on Friday, 28 September 2012 18:38:35 UTC

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