From 56e59eeacf7c3af390b94d0cb1fb862f6df98b2e Mon Sep 17 00:00:00 2001 From: Nick Burch Date: Tue, 4 Nov 2014 19:54:59 +0000 Subject: [PATCH] Fix naming, see #57185 git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1636707 13f79535-47bb-0310-9956-ffa450edef68 --- .../poi/xssf/usermodel/charts/TestXSSFLineChartData.java | 6 +++--- .../poi/xssf/usermodel/charts/TestXSSFScatterChartData.java | 6 +++--- 2 files changed, 6 insertions(+), 6 deletions(-) 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 3b7bac759c..c4c04b8d94 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 87f8ea7b12..2780a51767 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); } -- 2.39.5