diff options
author | Javen O'Neal <onealj@apache.org> | 2015-11-27 11:35:43 +0000 |
---|---|---|
committer | Javen O'Neal <onealj@apache.org> | 2015-11-27 11:35:43 +0000 |
commit | e543a14237ce048a0d578081e3fb45298e238305 (patch) | |
tree | 1e47fab03b2b174b45c62be50672c1d515287c08 | |
parent | 229a54a2489ef4649f34d7cc148d624817b6e063 (diff) | |
download | poi-e543a14237ce048a0d578081e3fb45298e238305.tar.gz poi-e543a14237ce048a0d578081e3fb45298e238305.zip |
make instance variables final
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1716843 13f79535-47bb-0310-9956-ffa450edef68
-rw-r--r-- | src/ooxml/java/org/apache/poi/xssf/streaming/SXSSFSheet.java | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/ooxml/java/org/apache/poi/xssf/streaming/SXSSFSheet.java b/src/ooxml/java/org/apache/poi/xssf/streaming/SXSSFSheet.java index d6eea5ca61..44f8a4ab88 100644 --- a/src/ooxml/java/org/apache/poi/xssf/streaming/SXSSFSheet.java +++ b/src/ooxml/java/org/apache/poi/xssf/streaming/SXSSFSheet.java @@ -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; |