Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[birt-dev]CheckIn: Fix Bugzilla Bug --- 116400 [Regression]The same style is defined several times in the generated html source.

Title: [birt-dev]CheckIn: Fix Bugzilla Bug --- 116400 [Regression]The same style is defined several times in the generated html source.

Summary 

Bugzilla Bug (s) Resolved:

Description:
Why:
        We use style.equals to reduce the number of style instance. In the equals, we use equals to compare the style properties. The RGBColorValue doesn't implements its own equals, so it return false even for the same color.

Fix:
        add equals to RGBColorValue, ListValue, FloatValue.

 
Test Description:
Unit Test
 
Files Edited:
"/org.eclipse.birt.report.engine/src/org/eclipse/birt/report/engine/css/engine/value/FloatValue.java" "/org.eclipse.birt.report.engine/src/org/eclipse/birt/report/engine/css/engine/value/ListValue.java" "/org.eclipse.birt.report.engine/src/org/eclipse/birt/report/engine/css/engine/value/RGBColorValue.java"

Files Added:

Notes to Build Team:
 
Notes to Developers:

Notes to QA:
 
Quotes to Documentation:


-Wei Yan



Back to the top