Fix inconsistent indent

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1601930 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Nick Burch 2014-06-11 15:38:26 +00:00
parent b066b58e3c
commit ac298f25b4
1 changed files with 16 additions and 16 deletions

View File

@ -208,27 +208,27 @@ public class SXSSFWorkbook implements Workbook
* @param useSharedStringsTable whether to use a shared strings table
*/
public SXSSFWorkbook(XSSFWorkbook workbook, int rowAccessWindowSize, boolean compressTmpFiles, boolean useSharedStringsTable){
setRandomAccessWindowSize(rowAccessWindowSize);
setCompressTempFiles(compressTmpFiles);
if (workbook == null)
{
_wb=new XSSFWorkbook();
if(useSharedStringsTable){
_sharedStringSource = _wb.getSharedStringSource();
}
}
else
{
_wb=workbook;
if(useSharedStringsTable){
_sharedStringSource = _wb.getSharedStringSource();
}
setRandomAccessWindowSize(rowAccessWindowSize);
setCompressTempFiles(compressTmpFiles);
if (workbook == null)
{
_wb=new XSSFWorkbook();
if(useSharedStringsTable){
_sharedStringSource = _wb.getSharedStringSource();
}
}
else
{
_wb=workbook;
if(useSharedStringsTable){
_sharedStringSource = _wb.getSharedStringSource();
}
for ( int i = 0; i < _wb.getNumberOfSheets(); i++ )
{
XSSFSheet sheet = _wb.getSheetAt( i );
createAndRegisterSXSSFSheet( sheet );
}
}
}
}
/**
* Construct an empty workbook and specify the window for row access.