You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@poi.apache.org by fa...@apache.org on 2025/07/23 16:55:47 UTC

(poi) branch trunk updated: Update PropertyTable.java

This is an automated email from the ASF dual-hosted git repository.

fanningpj pushed a commit to branch trunk
in repository https://gitbox.apache.org/repos/asf/poi.git


The following commit(s) were added to refs/heads/trunk by this push:
     new 8fc2f7db41 Update PropertyTable.java
8fc2f7db41 is described below

commit 8fc2f7db41ec0f3154c39ae83c09127d5dd5d05c
Author: PJ Fanning <pj...@users.noreply.github.com>
AuthorDate: Wed Jul 23 17:55:40 2025 +0100

    Update PropertyTable.java
---
 poi/src/main/java/org/apache/poi/poifs/property/PropertyTable.java | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/poi/src/main/java/org/apache/poi/poifs/property/PropertyTable.java b/poi/src/main/java/org/apache/poi/poifs/property/PropertyTable.java
index e0142f02c3..562413e0c6 100644
--- a/poi/src/main/java/org/apache/poi/poifs/property/PropertyTable.java
+++ b/poi/src/main/java/org/apache/poi/poifs/property/PropertyTable.java
@@ -228,7 +228,7 @@ public final class PropertyTable implements BATManaged {
     }
 
     // Maximum depth of the property tree to prevent stackoverflow errors
-    private static int MAX_PROPERTY_DEPTH = 1000;
+    private static final int MAX_PROPERTY_DEPTH = 1000;
 
     private void populatePropertyTree(final DirectoryProperty root, final int depth) throws IOException {
         if (depth > MAX_PROPERTY_DEPTH) {


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