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

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