poi-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From one...@apache.org
Subject svn commit: r1716843 - /poi/trunk/src/ooxml/java/org/apache/poi/xssf/streaming/SXSSFSheet.java
Date Fri, 27 Nov 2015 11:35:43 GMT
Author: onealj
Date: Fri Nov 27 11:35:43 2015
New Revision: 1716843

URL: http://svn.apache.org/viewvc?rev=1716843&view=rev
Log:
make instance variables final

Modified:
    poi/trunk/src/ooxml/java/org/apache/poi/xssf/streaming/SXSSFSheet.java   (contents, props
changed)

Modified: poi/trunk/src/ooxml/java/org/apache/poi/xssf/streaming/SXSSFSheet.java
URL: http://svn.apache.org/viewvc/poi/trunk/src/ooxml/java/org/apache/poi/xssf/streaming/SXSSFSheet.java?rev=1716843&r1=1716842&r2=1716843&view=diff
==============================================================================
--- poi/trunk/src/ooxml/java/org/apache/poi/xssf/streaming/SXSSFSheet.java (original)
+++ poi/trunk/src/ooxml/java/org/apache/poi/xssf/streaming/SXSSFSheet.java Fri Nov 27 11:35:43
2015
@@ -55,10 +55,10 @@ import org.openxmlformats.schemas.spread
 */
 public class SXSSFSheet implements Sheet, Cloneable
 {
-    XSSFSheet _sh;
-    private SXSSFWorkbook _workbook;
-    private TreeMap<Integer,SXSSFRow> _rows=new TreeMap<Integer,SXSSFRow>();
-    private SheetDataWriter _writer;
+    /*package*/ final XSSFSheet _sh;
+    private final SXSSFWorkbook _workbook;
+    private final TreeMap<Integer,SXSSFRow> _rows=new TreeMap<Integer,SXSSFRow>();
+    private final SheetDataWriter _writer;
     private int _randomAccessWindowSize = SXSSFWorkbook.DEFAULT_WINDOW_SIZE;
     private int outlineLevelRow = 0;
     private int lastFlushedRowNumber = -1;

Propchange: poi/trunk/src/ooxml/java/org/apache/poi/xssf/streaming/SXSSFSheet.java
------------------------------------------------------------------------------
    svn:eol-style = native



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


Mime
View raw message