]> source.dussan.org Git - poi.git/commitdiff
Fix inconsistent indent
authorNick Burch <nick@apache.org>
Wed, 11 Jun 2014 15:38:26 +0000 (15:38 +0000)
committerNick Burch <nick@apache.org>
Wed, 11 Jun 2014 15:38:26 +0000 (15:38 +0000)
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1601930 13f79535-47bb-0310-9956-ffa450edef68

src/ooxml/java/org/apache/poi/xssf/streaming/SXSSFWorkbook.java

index 0e0f50c107bd1a2829085d5b5ab3aee23caeabac..2f1d55947b2872aa7a2713e3482f0f7db0d5a9b4 100644 (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.