You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@wicket.apache.org by iv...@apache.org on 2009/02/22 21:55:45 UTC
svn commit: r746816 -
/wicket/trunk/wicket/src/main/java/org/apache/wicket/Application.java
Author: ivaynberg
Date: Sun Feb 22 20:55:45 2009
New Revision: 746816
URL: http://svn.apache.org/viewvc?rev=746816&view=rev
Log:
revert change from WICKET-2118
Modified:
wicket/trunk/wicket/src/main/java/org/apache/wicket/Application.java
Modified: wicket/trunk/wicket/src/main/java/org/apache/wicket/Application.java
URL: http://svn.apache.org/viewvc/wicket/trunk/wicket/src/main/java/org/apache/wicket/Application.java?rev=746816&r1=746815&r2=746816&view=diff
==============================================================================
--- wicket/trunk/wicket/src/main/java/org/apache/wicket/Application.java (original)
+++ wicket/trunk/wicket/src/main/java/org/apache/wicket/Application.java Sun Feb 22 20:55:45 2009
@@ -275,15 +275,6 @@
// Create shared resources repository
sharedResources = new SharedResources(this);
- // TODO why not move to internalInit??
- initializeComponentInstantiationListener();
- }
-
- /**
- * Initialize the ComponentInstantiationListener. Subclasses may enhance or replace it
- */
- protected void initializeComponentInstantiationListener()
- {
// Install default component instantiation listener that uses
// authorization strategy to check component instantiations.
addComponentInstantiationListener(new IComponentInstantiationListener()
@@ -294,7 +285,6 @@
public void onInstantiation(final Component component)
{
final Class<? extends Component> cl = component.getClass();
-
// If component instantiation is not authorized
if (!Session.get().getAuthorizationStrategy().isInstantiationAuthorized(cl))
{