Permalink
Browse files

WICKET-4162 keep listeners unmodifiable

git-svn-id: https://svn.apache.org/repos/asf/wicket/trunk@1204865 13f79535-47bb-0310-9956-ffa450edef68
  • Loading branch information...
Sven Meier
Sven Meier committed Nov 22, 2011
1 parent 4b98f93 commit 756a3bd11172a2cf28126962d9cfe8890fc99d14
Showing with 1 addition and 1 deletion.
  1. +1 −1 wicket-core/src/main/java/org/apache/wicket/Application.java
@@ -927,7 +927,7 @@ public final HeaderContributorListenerCollection getHeaderContributorListenerCol
*/
public final List<IInitializer> getInitializers()
{
- return initializers;
+ return Collections.unmodifiableList(initializers);
}
/**

0 comments on commit 756a3bd

Please sign in to comment.