From 8fc2f7db41ec0f3154c39ae83c09127d5dd5d05c Mon Sep 17 00:00:00 2001 From: PJ Fanning Date: Wed, 23 Jul 2025 17:55:40 +0100 Subject: [PATCH] Update PropertyTable.java --- .../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) {