diff options
author | PJ Fanning <fanningpj@apache.org> | 2022-07-27 09:02:15 +0000 |
---|---|---|
committer | PJ Fanning <fanningpj@apache.org> | 2022-07-27 09:02:15 +0000 |
commit | 749bdfb5a7eeacdb38d67f5f974ecb47f3709bda (patch) | |
tree | 023aa119e7650cdaf345ab3ed234e925dbcd2682 | |
parent | 1ce0f77bdd4b7c230fe1a08bc35c40d09ae1488d (diff) | |
download | poi-749bdfb5a7eeacdb38d67f5f974ecb47f3709bda.tar.gz poi-749bdfb5a7eeacdb38d67f5f974ecb47f3709bda.zip |
revert accidental changes
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1903048 13f79535-47bb-0310-9956-ffa450edef68
-rw-r--r-- | poi/src/main/java/org/apache/poi/ss/formula/WorkbookEvaluator.java | 6 | ||||
-rw-r--r-- | poi/src/test/java/org/apache/poi/ss/formula/TestFormulaEval.java | 2 |
2 files changed, 4 insertions, 4 deletions
diff --git a/poi/src/main/java/org/apache/poi/ss/formula/WorkbookEvaluator.java b/poi/src/main/java/org/apache/poi/ss/formula/WorkbookEvaluator.java index e6403ebaa8..8a8d391662 100644 --- a/poi/src/main/java/org/apache/poi/ss/formula/WorkbookEvaluator.java +++ b/poi/src/main/java/org/apache/poi/ss/formula/WorkbookEvaluator.java @@ -75,12 +75,12 @@ public final class WorkbookEvaluator { /** * whether print detailed messages about the next formula evaluation */ - private boolean dbgEvaluationOutputForNextEval = true; + private boolean dbgEvaluationOutputForNextEval; // special logger for formula evaluation output (because of possibly very large output) private final Logger EVAL_LOG = LogManager.getLogger("POI.FormulaEval"); // current indent level for evaluation; negative value for no output - private int dbgEvaluationOutputIndent = 1; + private int dbgEvaluationOutputIndent = -1; /** * @param udfFinder pass {@code null} for default (AnalysisToolPak only) @@ -376,7 +376,7 @@ public final class WorkbookEvaluator { if (dbgEvaluationOutputForNextEval) { // first evaluation call when ouput is desired, so iit. this evaluator instance dbgEvaluationOutputIndent = 1; - //dbgEvaluationOutputForNextEval = true; + dbgEvaluationOutputForNextEval = true; } if (dbgEvaluationOutputIndent > 0) { // init. indent string to needed spaces (create as substring from very long space-only string; diff --git a/poi/src/test/java/org/apache/poi/ss/formula/TestFormulaEval.java b/poi/src/test/java/org/apache/poi/ss/formula/TestFormulaEval.java index f5d828389d..8c390a0d33 100644 --- a/poi/src/test/java/org/apache/poi/ss/formula/TestFormulaEval.java +++ b/poi/src/test/java/org/apache/poi/ss/formula/TestFormulaEval.java @@ -74,7 +74,7 @@ class TestFormulaEval { } } - //@Disabled("currently causes a StackOverflowError") + @Disabled("currently causes a StackOverflowError") @Test void testBug66152() throws IOException { try (HSSFWorkbook wb = new HSSFWorkbook()) { |