From c3a27aaf449d35b5030c3ce7913a2e8b43bc7929 Mon Sep 17 00:00:00 2001 From: michaeloffner Date: Fri, 6 Dec 2024 21:06:26 +0100 Subject: [PATCH] make members final --- .../transformer/dynamic/meta/dynamic/ClazzDynamic.java | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/core/src/main/java/lucee/transformer/dynamic/meta/dynamic/ClazzDynamic.java b/core/src/main/java/lucee/transformer/dynamic/meta/dynamic/ClazzDynamic.java index ca1953fb8d..638e3a9b93 100644 --- a/core/src/main/java/lucee/transformer/dynamic/meta/dynamic/ClazzDynamic.java +++ b/core/src/main/java/lucee/transformer/dynamic/meta/dynamic/ClazzDynamic.java @@ -48,10 +48,10 @@ public class ClazzDynamic extends Clazz { private transient Class clazz; // private static Map> classes = new ConcurrentHashMap<>(); - private FunctionMember[] methods; - private FunctionMember[] declaredMethods; - private FunctionMember[] constructors; - private FunctionMember[] declaredConstructors; + private final FunctionMember[] methods; + private final FunctionMember[] declaredMethods; + private final FunctionMember[] constructors; + private final FunctionMember[] declaredConstructors; private String clid; private static Map clids = new IdentityHashMap<>();