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

adelbene pushed a commit to branch wicket-8.x
in repository https://gitbox.apache.org/repos/asf/wicket.git


The following commit(s) were added to refs/heads/wicket-8.x by this push:
     new 2fc51530fe WICKET-7002 added final modifier to metaData fields
2fc51530fe is described below

commit 2fc51530fe8ea0a93fae879fd0d66b31081ed570
Author: Andrea Del Bene <[email protected]>
AuthorDate: Tue Sep 6 20:50:43 2022 +0200

    WICKET-7002 added final modifier to metaData fields
---
 wicket-core/src/main/java/org/apache/wicket/Application.java | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/wicket-core/src/main/java/org/apache/wicket/Application.java 
b/wicket-core/src/main/java/org/apache/wicket/Application.java
index c2c3e8a3e6..052627af15 100644
--- a/wicket-core/src/main/java/org/apache/wicket/Application.java
+++ b/wicket-core/src/main/java/org/apache/wicket/Application.java
@@ -172,7 +172,7 @@ public abstract class Application implements 
UnboundListener, IEventSink
        private final List<IInitializer> initializers = Generics.newArrayList();
 
        /** Application level meta data. */
-       private ConcurrentHashMap<MetaDataKey<?>, Object> metaData = new 
ConcurrentHashMap<>();
+       private final ConcurrentHashMap<MetaDataKey<?>, Object> metaData = new 
ConcurrentHashMap<>();
 
        /** Name of application subclass. */
        private String name;

Reply via email to