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: Tue, 25 Sep 2012 17:59:09 +0000
Message-Id: <E1TGZPZ-0003lj-F5@jessica.w3.org>
To: www-validator-cvs@w3.org
https://www.w3.org/Bugs/Public/show_bug.cgi?id=19011

Hannes Erven <hannes+w3cbugs@erven.at> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
            Summary|Wrong validation of length  |Wrong validation of length
                   |0.0 - use                   |0.0 - use
                   |value.equals(BigDecimal.ZER |value.compareTo(BigDecimal.
                   |O) instead of               |ZERO)==0 instead of
                   |value==BigDecimal.ZERO      |value.equals(BigDecimal.ZER
                   |                            |O) - [WITH PATCH]

--- Comment #1 from Hannes Erven <hannes+w3cbugs@erven.at> 2012-09-25 17:59:09 UTC ---
(corrected misleading title. sorry.)

-- 
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 Tuesday, 25 September 2012 17:59:10 UTC

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