Fix naming, see #57185

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1636707 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Nick Burch 2014-11-04 19:54:59 +00:00
parent 663171c6c2
commit dbfe9f3949
2 changed files with 6 additions and 6 deletions

View File

@ -58,11 +58,11 @@ public class TestXSSFLineChartData extends TestCase {
ChartDataSource<String> xs = DataSources.fromStringCellRange(sheet, CellRangeAddress.valueOf("A1:J1"));
ChartDataSource<Number> ys = DataSources.fromNumericCellRange(sheet, CellRangeAddress.valueOf("A2:J2"));
LineChartSerie serie = lineChartData.addSerie(xs, ys);
LineChartSerie series = lineChartData.addSerie(xs, ys);
assertNotNull(serie);
assertNotNull(series);
assertEquals(1, lineChartData.getSeries().size());
assertTrue(lineChartData.getSeries().contains(serie));
assertTrue(lineChartData.getSeries().contains(series));
chart.plot(lineChartData, bottomAxis, leftAxis);
}

View File

@ -52,11 +52,11 @@ public final class TestXSSFScatterChartData extends TestCase {
ChartDataSource<String> xs = DataSources.fromStringCellRange(sheet, CellRangeAddress.valueOf("A1:J1"));
ChartDataSource<Number> ys = DataSources.fromNumericCellRange(sheet, CellRangeAddress.valueOf("A2:J2"));
ScatterChartSerie serie = scatterChartData.addSerie(xs, ys);
ScatterChartSerie series = scatterChartData.addSerie(xs, ys);
assertNotNull(serie);
assertNotNull(series);
assertEquals(1, scatterChartData.getSeries().size());
assertTrue(scatterChartData.getSeries().contains(serie));
assertTrue(scatterChartData.getSeries().contains(series));
chart.plot(scatterChartData, bottomAxis, leftAxis);
}