Author: mgrigorov
Date: Mon Jul 19 15:40:28 2010
New Revision: 965535
URL: http://svn.apache.org/viewvc?rev=965535&view=rev
Log:
Call super.init() for WebApplication#init().
Both of them are empty but now it is safer.
Update the javadoc by mentioning WicketFilter in addition to WicketServlet
Modified:
wicket/trunk/wicket/src/main/java/org/apache/wicket/protocol/http/WebApplication.java
Modified:
wicket/trunk/wicket/src/main/java/org/apache/wicket/protocol/http/WebApplication.java
URL:
http://svn.apache.org/viewvc/wicket/trunk/wicket/src/main/java/org/apache/wicket/protocol/http/WebApplication.java?rev=965535&r1=965534&r2=965535&view=diff
==============================================================================
---
wicket/trunk/wicket/src/main/java/org/apache/wicket/protocol/http/WebApplication.java
(original)
+++
wicket/trunk/wicket/src/main/java/org/apache/wicket/protocol/http/WebApplication.java
Mon Jul 19 15:40:28 2010
@@ -385,15 +385,16 @@ public abstract class WebApplication ext
}
/**
- * Initialize; if you need the wicket servlet for initialization, e.g.
because you want to read
- * an initParameter from web.xml or you want to read a resource from
the servlet's context path,
- * you can override this method and provide custom initialization. This
method is called right
- * after this application class is constructed, and the wicket servlet
is set. <strong>Use this
- * method for any application setup instead of the constructor.</strong>
+ * Initialize; if you need the wicket servlet/filter for
initialization, e.g. because you want
+ * to read an initParameter from web.xml or you want to read a resource
from the servlet's
+ * context path, you can override this method and provide custom
initialization. This method is
+ * called right after this application class is constructed, and the
wicket servlet/filter is
+ * set. <strong>Use this method for any application setup instead of
the constructor.</strong>
*/
@Override
protected void init()
{
+ super.init();
}
/**