]> source.dussan.org Git - poi.git/commitdiff
make instance variables final
authorJaven O'Neal <onealj@apache.org>
Fri, 27 Nov 2015 11:35:43 +0000 (11:35 +0000)
committerJaven O'Neal <onealj@apache.org>
Fri, 27 Nov 2015 11:35:43 +0000 (11:35 +0000)
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1716843 13f79535-47bb-0310-9956-ffa450edef68

src/ooxml/java/org/apache/poi/xssf/streaming/SXSSFSheet.java

index d6eea5ca61dc3493a8f954cc01967a6b1d6a3ca9..44f8a4ab881e90929d10e81b1a407e4b45f218a2 100644 (file)
@@ -55,10 +55,10 @@ import org.openxmlformats.schemas.spreadsheetml.x2006.main.CTWorksheet;
 */
 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;