From 8afc4192703e2b849f36723f3506fc0feaff472e Mon Sep 17 00:00:00 2001 From: Nick Burch Date: Wed, 11 Jun 2014 15:38:26 +0000 Subject: [PATCH] Fix inconsistent indent git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1601930 13f79535-47bb-0310-9956-ffa450edef68 --- .../poi/xssf/streaming/SXSSFWorkbook.java | 32 +++++++++---------- 1 file 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 0e0f50c10..2f1d55947 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.