revert accidental changes

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1903048 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
PJ Fanning 2022-07-27 09:02:15 +00:00
parent 1ce0f77bdd
commit 749bdfb5a7
2 changed files with 4 additions and 4 deletions

View File

@ -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;

View File

@ -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()) {