Remove unused members and make others private
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1553464 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
e34a1f9620
commit
aaa4029cd5
@ -43,11 +43,10 @@ public class SheetDataWriter {
|
|||||||
private final File _fd;
|
private final File _fd;
|
||||||
private final Writer _out;
|
private final Writer _out;
|
||||||
private int _rownum;
|
private int _rownum;
|
||||||
private boolean _rowContainedNullCells = false;
|
private int _numberOfFlushedRows;
|
||||||
int _numberOfFlushedRows;
|
private int _lowestIndexOfFlushedRows; // meaningful only of _numberOfFlushedRows>0
|
||||||
int _lowestIndexOfFlushedRows; // meaningful only of _numberOfFlushedRows>0
|
private int _numberOfCellsOfLastFlushedRow; // meaningful only of _numberOfFlushedRows>0
|
||||||
int _numberOfCellsOfLastFlushedRow; // meaningful only of _numberOfFlushedRows>0
|
private int _numberLastFlushedRow = -1; // meaningful only of _numberOfFlushedRows>0
|
||||||
int _numberLastFlushedRow = -1; // meaningful only of _numberOfFlushedRows>0
|
|
||||||
|
|
||||||
public SheetDataWriter() throws IOException {
|
public SheetDataWriter() throws IOException {
|
||||||
_fd = createTempFile();
|
_fd = createTempFile();
|
||||||
@ -161,7 +160,6 @@ public class SheetDataWriter {
|
|||||||
|
|
||||||
_out.write(">\n");
|
_out.write(">\n");
|
||||||
this._rownum = rownum;
|
this._rownum = rownum;
|
||||||
_rowContainedNullCells = false;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
void endRow() throws IOException {
|
void endRow() throws IOException {
|
||||||
@ -170,7 +168,6 @@ public class SheetDataWriter {
|
|||||||
|
|
||||||
public void writeCell(int columnIndex, Cell cell) throws IOException {
|
public void writeCell(int columnIndex, Cell cell) throws IOException {
|
||||||
if (cell == null) {
|
if (cell == null) {
|
||||||
_rowContainedNullCells = true;
|
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
String ref = new CellReference(_rownum, columnIndex).formatAsString();
|
String ref = new CellReference(_rownum, columnIndex).formatAsString();
|
||||||
|
Loading…
Reference in New Issue
Block a user