W3C home > Mailing lists > Public > www-validator-cvs@w3.org > April 2015

[Bug 28447] New: Incorrect use of BigDecimal.equals() in multiple CSSValues [WITH PATCH]

From: <bugzilla@jessica.w3.org>
Date: Wed, 08 Apr 2015 16:41:17 +0000
To: www-validator-cvs@w3.org
Message-ID: <bug-28447-169@http.www.w3.org/Bugs/Public/>
https://www.w3.org/Bugs/Public/show_bug.cgi?id=28447

            Bug ID: 28447
           Summary: Incorrect use of BigDecimal.equals() in multiple
                    CSSValues [WITH PATCH]
           Product: CSSValidator
           Version: CSS Validator
          Hardware: PC
                OS: All
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Parser
          Assignee: dave.null@w3.org
          Reporter: hannes+w3cbugs@erven.at
        QA Contact: www-validator-cvs@w3.org

Created attachment 1596
  --> https://www.w3.org/Bugs/Public/attachment.cgi?id=1596&action=edit
Suggested patch

BigDecimal.compareTo()==0 must be used to compare BigDecimal's values, not
BigDecimal.equals(). A similar issue has already been fixed in Bug#19011, but
have been reintroduced with the recent rework.

-- 
You are receiving this mail because:
You are the QA Contact for the bug.
Received on Wednesday, 8 April 2015 16:41:19 UTC

This archive was generated by hypermail 2.3.1 : Wednesday, 8 April 2015 16:41:20 UTC