You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@poi.apache.org by ni...@apache.org on 2014/11/04 20:54:59 UTC

svn commit: r1636707 - in /poi/trunk/src/ooxml/testcases/org/apache/poi/xssf/usermodel/charts: TestXSSFLineChartData.java TestXSSFScatterChartData.java

Author: nick
Date: Tue Nov  4 19:54:59 2014
New Revision: 1636707

URL: http://svn.apache.org/r1636707
Log:
Fix naming, see #57185

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

Modified: poi/trunk/src/ooxml/testcases/org/apache/poi/xssf/usermodel/charts/TestXSSFLineChartData.java
URL: http://svn.apache.org/viewvc/poi/trunk/src/ooxml/testcases/org/apache/poi/xssf/usermodel/charts/TestXSSFLineChartData.java?rev=1636707&r1=1636706&r2=1636707&view=diff
==============================================================================
--- poi/trunk/src/ooxml/testcases/org/apache/poi/xssf/usermodel/charts/TestXSSFLineChartData.java (original)
+++ poi/trunk/src/ooxml/testcases/org/apache/poi/xssf/usermodel/charts/TestXSSFLineChartData.java Tue Nov  4 19:54:59 2014
@@ -58,11 +58,11 @@ public class TestXSSFLineChartData exten
 
         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);
     }

Modified: poi/trunk/src/ooxml/testcases/org/apache/poi/xssf/usermodel/charts/TestXSSFScatterChartData.java
URL: http://svn.apache.org/viewvc/poi/trunk/src/ooxml/testcases/org/apache/poi/xssf/usermodel/charts/TestXSSFScatterChartData.java?rev=1636707&r1=1636706&r2=1636707&view=diff
==============================================================================
--- poi/trunk/src/ooxml/testcases/org/apache/poi/xssf/usermodel/charts/TestXSSFScatterChartData.java (original)
+++ poi/trunk/src/ooxml/testcases/org/apache/poi/xssf/usermodel/charts/TestXSSFScatterChartData.java Tue Nov  4 19:54:59 2014
@@ -52,11 +52,11 @@ public final class TestXSSFScatterChartD
 
         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);
     }



---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@poi.apache.org
For additional commands, e-mail: commits-help@poi.apache.org