diff options
author | Nick Burch <nick@apache.org> | 2014-11-04 19:54:59 +0000 |
---|---|---|
committer | Nick Burch <nick@apache.org> | 2014-11-04 19:54:59 +0000 |
commit | 56e59eeacf7c3af390b94d0cb1fb862f6df98b2e (patch) | |
tree | 3e7e4040278d88914a539c3b2e1b9f017e4bc2c0 | |
parent | 70365497bbe77945907c3e4aacb72964a77c8ef0 (diff) | |
download | poi-56e59eeacf7c3af390b94d0cb1fb862f6df98b2e.tar.gz poi-56e59eeacf7c3af390b94d0cb1fb862f6df98b2e.zip |
Fix naming, see #57185
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1636707 13f79535-47bb-0310-9956-ffa450edef68
-rw-r--r-- | src/ooxml/testcases/org/apache/poi/xssf/usermodel/charts/TestXSSFLineChartData.java | 6 | ||||
-rw-r--r-- | src/ooxml/testcases/org/apache/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<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);
}
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<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); } |