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:
parent
a1d0c8a260
commit
8afc419270
@ -208,27 +208,27 @@ public class SXSSFWorkbook implements Workbook
|
|||||||
* @param useSharedStringsTable whether to use a shared strings table
|
* @param useSharedStringsTable whether to use a shared strings table
|
||||||
*/
|
*/
|
||||||
public SXSSFWorkbook(XSSFWorkbook workbook, int rowAccessWindowSize, boolean compressTmpFiles, boolean useSharedStringsTable){
|
public SXSSFWorkbook(XSSFWorkbook workbook, int rowAccessWindowSize, boolean compressTmpFiles, boolean useSharedStringsTable){
|
||||||
setRandomAccessWindowSize(rowAccessWindowSize);
|
setRandomAccessWindowSize(rowAccessWindowSize);
|
||||||
setCompressTempFiles(compressTmpFiles);
|
setCompressTempFiles(compressTmpFiles);
|
||||||
if (workbook == null)
|
if (workbook == null)
|
||||||
{
|
{
|
||||||
_wb=new XSSFWorkbook();
|
_wb=new XSSFWorkbook();
|
||||||
if(useSharedStringsTable){
|
if(useSharedStringsTable){
|
||||||
_sharedStringSource = _wb.getSharedStringSource();
|
_sharedStringSource = _wb.getSharedStringSource();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
_wb=workbook;
|
_wb=workbook;
|
||||||
if(useSharedStringsTable){
|
if(useSharedStringsTable){
|
||||||
_sharedStringSource = _wb.getSharedStringSource();
|
_sharedStringSource = _wb.getSharedStringSource();
|
||||||
}
|
}
|
||||||
for ( int i = 0; i < _wb.getNumberOfSheets(); i++ )
|
for ( int i = 0; i < _wb.getNumberOfSheets(); i++ )
|
||||||
{
|
{
|
||||||
XSSFSheet sheet = _wb.getSheetAt( i );
|
XSSFSheet sheet = _wb.getSheetAt( i );
|
||||||
createAndRegisterSXSSFSheet( sheet );
|
createAndRegisterSXSSFSheet( sheet );
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
/**
|
/**
|
||||||
* Construct an empty workbook and specify the window for row access.
|
* Construct an empty workbook and specify the window for row access.
|
||||||
|
Loading…
Reference in New Issue
Block a user