Author: centic
Date: Mon Sep 18 18:25:56 2023
New Revision: 1912403

URL: http://svn.apache.org/viewvc?rev=1912403&view=rev
Log:
Adjust max recursion nesting

Otherwise this still triggered StackOverflow on some version of JDK

Modified:
    
poi/trunk/poi-scratchpad/src/main/java/org/apache/poi/hwpf/converter/WordToTextConverter.java

Modified: 
poi/trunk/poi-scratchpad/src/main/java/org/apache/poi/hwpf/converter/WordToTextConverter.java
URL: 
http://svn.apache.org/viewvc/poi/trunk/poi-scratchpad/src/main/java/org/apache/poi/hwpf/converter/WordToTextConverter.java?rev=1912403&r1=1912402&r2=1912403&view=diff
==============================================================================
--- 
poi/trunk/poi-scratchpad/src/main/java/org/apache/poi/hwpf/converter/WordToTextConverter.java
 (original)
+++ 
poi/trunk/poi-scratchpad/src/main/java/org/apache/poi/hwpf/converter/WordToTextConverter.java
 Mon Sep 18 18:25:56 2023
@@ -54,7 +54,7 @@ import org.w3c.dom.Element;
 public class WordToTextConverter extends AbstractWordConverter {
     private static final Logger LOG = 
LogManager.getLogger(WordToTextConverter.class);
 
-    private static final int MAX_NESTED_CHILD_NODES = 500;
+    private static final int MAX_NESTED_CHILD_NODES = 400;
 
     public static String getText( DirectoryNode root ) throws Exception
     {



---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to