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

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