aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNick Burch <nick@apache.org>2014-06-11 15:38:26 +0000
committerNick Burch <nick@apache.org>2014-06-11 15:38:26 +0000
commitac298f25b4752e7521766025de1f56ec7fd073b0 (patch)
treef4fc48f8ef4a639ddff0d542196c86229fc7f6d8
parentb066b58e3c7c76809af8b6bfd693bdffd2fc3890 (diff)
downloadpoi-ac298f25b4752e7521766025de1f56ec7fd073b0.tar.gz
poi-ac298f25b4752e7521766025de1f56ec7fd073b0.zip
Fix inconsistent indent
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1601930 13f79535-47bb-0310-9956-ffa450edef68
-rw-r--r--src/ooxml/java/org/apache/poi/xssf/streaming/SXSSFWorkbook.java32
1 files changed, 16 insertions, 16 deletions
diff --git a/src/ooxml/java/org/apache/poi/xssf/streaming/SXSSFWorkbook.java b/src/ooxml/java/org/apache/poi/xssf/streaming/SXSSFWorkbook.java
index 0e0f50c107..2f1d55947b 100644
--- a/src/ooxml/java/org/apache/poi/xssf/streaming/SXSSFWorkbook.java
+++ b/src/ooxml/java/org/apache/poi/xssf/streaming/SXSSFWorkbook.java
@@ -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.