poi-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From one...@apache.org
Subject svn commit: r1747623 [1/2] - in /poi/branches/xssf_structured_references/src: java/org/apache/poi/hssf/model/ ooxml/testcases/org/apache/poi/xssf/usermodel/ testcases/org/apache/poi/hssf/model/
Date Fri, 10 Jun 2016 02:01:15 GMT
Author: onealj
Date: Fri Jun 10 02:01:15 2016
New Revision: 1747623

URL: http://svn.apache.org/viewvc?rev=1747623&view=rev
Log:
whitespace (tabs to spaces)

Modified:
    poi/branches/xssf_structured_references/src/java/org/apache/poi/hssf/model/HSSFFormulaParser.java
    poi/branches/xssf_structured_references/src/ooxml/testcases/org/apache/poi/xssf/usermodel/TestXSSFFormulaParser.java
    poi/branches/xssf_structured_references/src/testcases/org/apache/poi/hssf/model/TestFormulaParser.java

Modified: poi/branches/xssf_structured_references/src/java/org/apache/poi/hssf/model/HSSFFormulaParser.java
URL: http://svn.apache.org/viewvc/poi/branches/xssf_structured_references/src/java/org/apache/poi/hssf/model/HSSFFormulaParser.java?rev=1747623&r1=1747622&r2=1747623&view=diff
==============================================================================
--- poi/branches/xssf_structured_references/src/java/org/apache/poi/hssf/model/HSSFFormulaParser.java
(original)
+++ poi/branches/xssf_structured_references/src/java/org/apache/poi/hssf/model/HSSFFormulaParser.java
Fri Jun 10 02:01:15 2016
@@ -67,7 +67,7 @@ public final class HSSFFormulaParser {
      * @throws FormulaParseException if the formula has incorrect syntax or is otherwise
invalid
      */
     public static Ptg[] parse(String formula, HSSFWorkbook workbook, int formulaType, int
sheetIndex) throws FormulaParseException {
-        return FormulaParser.parse(formula, createParsingWorkbook(workbook), formulaType,
sheetIndex, -1);
+        return FormulaParser.parse(formula, createParsingWorkbook(workbook), formulaType,
sheetIndex);
     }
 
     /**

Modified: poi/branches/xssf_structured_references/src/ooxml/testcases/org/apache/poi/xssf/usermodel/TestXSSFFormulaParser.java
URL: http://svn.apache.org/viewvc/poi/branches/xssf_structured_references/src/ooxml/testcases/org/apache/poi/xssf/usermodel/TestXSSFFormulaParser.java?rev=1747623&r1=1747622&r2=1747623&view=diff
==============================================================================
--- poi/branches/xssf_structured_references/src/ooxml/testcases/org/apache/poi/xssf/usermodel/TestXSSFFormulaParser.java
(original)
+++ poi/branches/xssf_structured_references/src/ooxml/testcases/org/apache/poi/xssf/usermodel/TestXSSFFormulaParser.java
Fri Jun 10 02:01:15 2016
@@ -41,11 +41,11 @@ import org.junit.Test;
 import java.util.Arrays;
 
 public final class TestXSSFFormulaParser {
-	private static Ptg[] parse(FormulaParsingWorkbook fpb, String fmla) {
-		return FormulaParser.parse(fmla, fpb, FormulaType.CELL, -1, -1);
-	}
+    private static Ptg[] parse(FormulaParsingWorkbook fpb, String fmla) {
+        return FormulaParser.parse(fmla, fpb, FormulaType.CELL, -1, -1);
+    }
 
-	@Test
+    @Test
     public void basicParsing() {
         XSSFWorkbook wb = new XSSFWorkbook();
         XSSFEvaluationWorkbook fpb = XSSFEvaluationWorkbook.create(wb);
@@ -120,7 +120,7 @@ public final class TestXSSFFormulaParser
         assertEquals("SUM",          ptgs[1].toFormulaString());
     }
 
-	@Test
+    @Test
     public void builtInFormulas() {
         XSSFWorkbook wb = new XSSFWorkbook();
         XSSFEvaluationWorkbook fpb = XSSFEvaluationWorkbook.create(wb);
@@ -155,7 +155,7 @@ public final class TestXSSFFormulaParser
         assertEquals("[0]!NR_Global_B2",((NameXPxg)ptgs[0]).toFormulaString());
     }
    
-	@Test
+    @Test
     public void formulaReferencesOtherSheets() {
         // Use a test file with the named ranges in place
         XSSFWorkbook wb = XSSFTestDataSamples.openSampleWorkbook("56737.xlsx");



---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@poi.apache.org
For additional commands, e-mail: commits-help@poi.apache.org


Mime
View raw message