From e543a14237ce048a0d578081e3fb45298e238305 Mon Sep 17 00:00:00 2001 From: Javen O'Neal Date: Fri, 27 Nov 2015 11:35:43 +0000 Subject: [PATCH] make instance variables final git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1716843 13f79535-47bb-0310-9956-ffa450edef68 --- .../java/org/apache/poi/xssf/streaming/SXSSFSheet.java | 8 ++++---- 1 file 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 _rows=new TreeMap(); - private SheetDataWriter _writer; + /*package*/ final XSSFSheet _sh; + private final SXSSFWorkbook _workbook; + private final TreeMap _rows=new TreeMap(); + private final SheetDataWriter _writer; private int _randomAccessWindowSize = SXSSFWorkbook.DEFAULT_WINDOW_SIZE; private int outlineLevelRow = 0; private int lastFlushedRowNumber = -1; -- 2.39.5