You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@wicket.apache.org by jb...@apache.org on 2007/04/28 11:03:41 UTC

svn commit: r533318 - /incubator/wicket/trunk/jdk-1.5/wicket-auth-roles/src/main/java/org/apache/wicket/authentication/AuthenticatedWebApplication.java

Author: jbq
Date: Sat Apr 28 02:03:40 2007
New Revision: 533318

URL: http://svn.apache.org/viewvc?view=rev&rev=533318
Log:
Remove the Response argument to the constructor of WebSession

Modified:
    incubator/wicket/trunk/jdk-1.5/wicket-auth-roles/src/main/java/org/apache/wicket/authentication/AuthenticatedWebApplication.java

Modified: incubator/wicket/trunk/jdk-1.5/wicket-auth-roles/src/main/java/org/apache/wicket/authentication/AuthenticatedWebApplication.java
URL: http://svn.apache.org/viewvc/incubator/wicket/trunk/jdk-1.5/wicket-auth-roles/src/main/java/org/apache/wicket/authentication/AuthenticatedWebApplication.java?view=diff&rev=533318&r1=533317&r2=533318
==============================================================================
--- incubator/wicket/trunk/jdk-1.5/wicket-auth-roles/src/main/java/org/apache/wicket/authentication/AuthenticatedWebApplication.java (original)
+++ incubator/wicket/trunk/jdk-1.5/wicket-auth-roles/src/main/java/org/apache/wicket/authentication/AuthenticatedWebApplication.java Sat Apr 28 02:03:40 2007
@@ -109,13 +109,12 @@
 		try
 		{
 			return webSessionClass.getDeclaredConstructor(AuthenticatedWebApplication.class,
-					Request.class, Response.class).newInstance(AuthenticatedWebApplication.this,
-					request, response);
+					Request.class).newInstance(AuthenticatedWebApplication.this, request);
 		}
 		catch (Exception e)
 		{
-			throw new WicketRuntimeException("Unable to instantiate web session class "
-					+ webSessionClass, e);
+			throw new WicketRuntimeException(
+					"Unable to instantiate web session " + webSessionClass, e);
 		}
 	}