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 <[email protected]>
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: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to