You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@poi.apache.org by ce...@apache.org on 2013/12/26 10:31:25 UTC

svn commit: r1553464 - /poi/trunk/src/ooxml/java/org/apache/poi/xssf/streaming/SheetDataWriter.java

Author: centic
Date: Thu Dec 26 09:31:25 2013
New Revision: 1553464

URL: http://svn.apache.org/r1553464
Log:
Remove unused members and make others private

Modified:
    poi/trunk/src/ooxml/java/org/apache/poi/xssf/streaming/SheetDataWriter.java

Modified: poi/trunk/src/ooxml/java/org/apache/poi/xssf/streaming/SheetDataWriter.java
URL: http://svn.apache.org/viewvc/poi/trunk/src/ooxml/java/org/apache/poi/xssf/streaming/SheetDataWriter.java?rev=1553464&r1=1553463&r2=1553464&view=diff
==============================================================================
--- poi/trunk/src/ooxml/java/org/apache/poi/xssf/streaming/SheetDataWriter.java (original)
+++ poi/trunk/src/ooxml/java/org/apache/poi/xssf/streaming/SheetDataWriter.java Thu Dec 26 09:31:25 2013
@@ -43,11 +43,10 @@ public class SheetDataWriter {
     private final File _fd;
     private final Writer _out;
     private int _rownum;
-    private boolean _rowContainedNullCells = false;
-    int _numberOfFlushedRows;
-    int _lowestIndexOfFlushedRows; // meaningful only of _numberOfFlushedRows>0
-    int _numberOfCellsOfLastFlushedRow; // meaningful only of _numberOfFlushedRows>0
-    int _numberLastFlushedRow = -1; // meaningful only of _numberOfFlushedRows>0
+    private int _numberOfFlushedRows;
+    private int _lowestIndexOfFlushedRows; // meaningful only of _numberOfFlushedRows>0
+    private int _numberOfCellsOfLastFlushedRow; // meaningful only of _numberOfFlushedRows>0
+    private int _numberLastFlushedRow = -1; // meaningful only of _numberOfFlushedRows>0
 
     public SheetDataWriter() throws IOException {
         _fd = createTempFile();
@@ -161,7 +160,6 @@ public class SheetDataWriter {
         
         _out.write(">\n");
         this._rownum = rownum;
-        _rowContainedNullCells = false;
     }
 
     void endRow() throws IOException {
@@ -170,7 +168,6 @@ public class SheetDataWriter {
 
     public void writeCell(int columnIndex, Cell cell) throws IOException {
         if (cell == null) {
-            _rowContainedNullCells = true;
             return;
         }
         String ref = new CellReference(_rownum, columnIndex).formatAsString();



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