Project: Birt
Bug 186926 Enhance methods name in IFont, a simple APi class in model
Reported: 2007-05-14 23:37:51 | Status: resolved fixed

Two issues in IFont interface: 1. Bold is misspelled in setIsBold() method. 2. Setter method name for Boolean arguments is not good. I prefer setBold to setIsBold. There are four boolean-setter methods needing modification like that.

Files changed in fix:
chart/org.eclipse.birt.chart.reportitem/src/org/eclipse/birt/chart/script/api/data/IDateTimeDataElement.java chart/org.eclipse.birt.chart.reportitem/src/org/eclipse/birt/chart/script/api/data/INumberDataElement.java chart/org.eclipse.birt.chart.reportitem/src/org/eclipse/birt/chart/script/internal/ChartComponentUtil.java chart/org.eclipse.birt.chart.reportitem/src/org/eclipse/birt/chart/script/internal/ChartImpl.java chart/org.eclipse.birt.chart.reportitem/src/org/eclipse/birt/chart/script/internal/attribute/FontImpl.java chart/org.eclipse.birt.chart.reportitem/src/org/eclipse/birt/chart/script/internal/attribute/LabelImpl.java chart/org.eclipse.birt.chart.reportitem/src/org/eclipse/birt/chart/script/internal/attribute/TextImpl.java chart/org.eclipse.birt.chart.reportitem/src/org/eclipse/birt/chart/script/internal/component/AxisImpl.java chart/org.eclipse.birt.chart.reportitem/src/org/eclipse/birt/chart/script/internal/component/LegendImpl.java chart/org.eclipse.birt.chart.reportitem/src/org/eclipse/birt/chart/script/internal/component/MarkerLineImpl.java chart/org.eclipse.birt.chart.reportitem/src/org/eclipse/birt/chart/script/internal/component/MarkerRangeImpl.java chart/org.eclipse.birt.chart.reportitem/src/org/eclipse/birt/chart/script/internal/data/DateTimeElementImpl.java chart/org.eclipse.birt.chart.reportitem/src/org/eclipse/birt/chart/script/internal/data/NumberElementImpl.java chart/org.eclipse.birt.chart.tests/src/org/eclipse/birt/chart/tests/script/ChartTest.java chart/org.eclipse.birt.chart.tests/src/org/eclipse/birt/chart/tests/script/component/MarkerLineTest.java chart/org.eclipse.birt.chart.tests/src/org/eclipse/birt/chart/tests/script/component/MarkerRangeTest.java