This is an automated email from the ASF dual-hosted git repository.
adelbene pushed a commit to branch wicket-9.x
in repository https://gitbox.apache.org/repos/asf/wicket.git
The following commit(s) were added to refs/heads/wicket-9.x by this push:
new 666c339f39 WICKET-7002 added final modifier to metaData fields
666c339f39 is described below
commit 666c339f39a4677f263afca3764a3f02a4a393c8
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 ee9c54944c..fc6aeac0fd 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;