diff --git a/src/ooxml/testcases/org/apache/poi/xssf/usermodel/charts/TestXSSFLineChartData.java b/src/ooxml/testcases/org/apache/poi/xssf/usermodel/charts/TestXSSFLineChartData.java index 3b7bac759..c4c04b8d9 100644 --- a/src/ooxml/testcases/org/apache/poi/xssf/usermodel/charts/TestXSSFLineChartData.java +++ b/src/ooxml/testcases/org/apache/poi/xssf/usermodel/charts/TestXSSFLineChartData.java @@ -58,11 +58,11 @@ public class TestXSSFLineChartData extends TestCase { ChartDataSource xs = DataSources.fromStringCellRange(sheet, CellRangeAddress.valueOf("A1:J1")); ChartDataSource 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); } diff --git a/src/ooxml/testcases/org/apache/poi/xssf/usermodel/charts/TestXSSFScatterChartData.java b/src/ooxml/testcases/org/apache/poi/xssf/usermodel/charts/TestXSSFScatterChartData.java index 87f8ea7b1..2780a5176 100644 --- a/src/ooxml/testcases/org/apache/poi/xssf/usermodel/charts/TestXSSFScatterChartData.java +++ b/src/ooxml/testcases/org/apache/poi/xssf/usermodel/charts/TestXSSFScatterChartData.java @@ -52,11 +52,11 @@ public final class TestXSSFScatterChartData extends TestCase { ChartDataSource xs = DataSources.fromStringCellRange(sheet, CellRangeAddress.valueOf("A1:J1")); ChartDataSource 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); }