]> source.dussan.org Git - poi.git/commitdiff
Remove unused members and make others private
authorDominik Stadler <centic@apache.org>
Thu, 26 Dec 2013 09:31:25 +0000 (09:31 +0000)
committerDominik Stadler <centic@apache.org>
Thu, 26 Dec 2013 09:31:25 +0000 (09:31 +0000)
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1553464 13f79535-47bb-0310-9956-ffa450edef68

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

index 1036c2280153dfb566f575fa8be53ec29f5a03e6..fa062f4c24ef95cc763cbaeabed7da4e0f2b0c00 100644 (file)
@@ -43,11 +43,10 @@ public class SheetDataWriter {
     private final File _fd;\r
     private final Writer _out;\r
     private int _rownum;\r
-    private boolean _rowContainedNullCells = false;\r
-    int _numberOfFlushedRows;\r
-    int _lowestIndexOfFlushedRows; // meaningful only of _numberOfFlushedRows>0\r
-    int _numberOfCellsOfLastFlushedRow; // meaningful only of _numberOfFlushedRows>0\r
-    int _numberLastFlushedRow = -1; // meaningful only of _numberOfFlushedRows>0\r
+    private int _numberOfFlushedRows;\r
+    private int _lowestIndexOfFlushedRows; // meaningful only of _numberOfFlushedRows>0\r
+    private int _numberOfCellsOfLastFlushedRow; // meaningful only of _numberOfFlushedRows>0\r
+    private int _numberLastFlushedRow = -1; // meaningful only of _numberOfFlushedRows>0\r
 \r
     public SheetDataWriter() throws IOException {\r
         _fd = createTempFile();\r
@@ -161,7 +160,6 @@ public class SheetDataWriter {
         \r
         _out.write(">\n");\r
         this._rownum = rownum;\r
-        _rowContainedNullCells = false;\r
     }\r
 \r
     void endRow() throws IOException {\r
@@ -170,7 +168,6 @@ public class SheetDataWriter {
 \r
     public void writeCell(int columnIndex, Cell cell) throws IOException {\r
         if (cell == null) {\r
-            _rowContainedNullCells = true;\r
             return;\r
         }\r
         String ref = new CellReference(_rownum, columnIndex).formatAsString();\r