Update PropertyTable.java

This commit is contained in:
PJ Fanning 2025-07-23 17:55:40 +01:00
parent c76be2df41
commit 8fc2f7db41

View File

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