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

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


The following commit(s) were added to refs/heads/master by this push:
     new fe45d36a5d WICKET-7002 added final modifier to metaData fields
fe45d36a5d is described below

commit fe45d36a5de9f882916e5df955da20ffc285684a
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 36d74d22af..cd3747f89f 100644
--- a/wicket-core/src/main/java/org/apache/wicket/Application.java
+++ b/wicket-core/src/main/java/org/apache/wicket/Application.java
@@ -160,7 +160,7 @@ public abstract class Application implements 
UnboundListener, IEventSink, IMetad
        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