]> source.dussan.org Git - poi.git/commitdiff
Fix naming, see #57185
authorNick Burch <nick@apache.org>
Tue, 4 Nov 2014 19:54:59 +0000 (19:54 +0000)
committerNick Burch <nick@apache.org>
Tue, 4 Nov 2014 19:54:59 +0000 (19:54 +0000)
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1636707 13f79535-47bb-0310-9956-ffa450edef68

src/ooxml/testcases/org/apache/poi/xssf/usermodel/charts/TestXSSFLineChartData.java
src/ooxml/testcases/org/apache/poi/xssf/usermodel/charts/TestXSSFScatterChartData.java

index 3b7bac759c963d9f2bcd379d0c896d999f1b4722..c4c04b8d940d9a3a6d56493088ad26eb092c26a8 100644 (file)
@@ -58,11 +58,11 @@ public class TestXSSFLineChartData extends TestCase {
 \r
         ChartDataSource<String> xs = DataSources.fromStringCellRange(sheet, CellRangeAddress.valueOf("A1:J1"));\r
         ChartDataSource<Number> ys = DataSources.fromNumericCellRange(sheet, CellRangeAddress.valueOf("A2:J2"));\r
-        LineChartSerie serie = lineChartData.addSerie(xs, ys);\r
+        LineChartSerie series = lineChartData.addSerie(xs, ys);\r
 \r
-        assertNotNull(serie);\r
+        assertNotNull(series);\r
         assertEquals(1, lineChartData.getSeries().size());\r
-        assertTrue(lineChartData.getSeries().contains(serie));\r
+        assertTrue(lineChartData.getSeries().contains(series));\r
 \r
         chart.plot(lineChartData, bottomAxis, leftAxis);\r
     }\r
index 87f8ea7b12408ec9261943beb6a42df789eb4c37..2780a51767697cd343fa562c618700c062f0e861 100644 (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);
     }