You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@wicket.apache.org by eh...@apache.org on 2006/10/19 12:29:28 UTC
svn commit: r465559 - in
/incubator/wicket/trunk/wicket/src/main/java/wicket: Session.java
protocol/http/portlet/WicketPortletSession.java
Author: ehillenius
Date: Thu Oct 19 03:29:26 2006
New Revision: 465559
URL: http://svn.apache.org/viewvc?view=rev&rev=465559
Log:
made getSessionStore final; we don't want clients to override that method
Modified:
incubator/wicket/trunk/wicket/src/main/java/wicket/Session.java
incubator/wicket/trunk/wicket/src/main/java/wicket/protocol/http/portlet/WicketPortletSession.java
Modified: incubator/wicket/trunk/wicket/src/main/java/wicket/Session.java
URL: http://svn.apache.org/viewvc/incubator/wicket/trunk/wicket/src/main/java/wicket/Session.java?view=diff&rev=465559&r1=465558&r2=465559
==============================================================================
--- incubator/wicket/trunk/wicket/src/main/java/wicket/Session.java (original)
+++ incubator/wicket/trunk/wicket/src/main/java/wicket/Session.java Thu Oct 19 03:29:26 2006
@@ -940,7 +940,7 @@
*
* @return the session store
*/
- protected ISessionStore getSessionStore()
+ protected final ISessionStore getSessionStore()
{
if (sessionStore == null)
{
Modified: incubator/wicket/trunk/wicket/src/main/java/wicket/protocol/http/portlet/WicketPortletSession.java
URL: http://svn.apache.org/viewvc/incubator/wicket/trunk/wicket/src/main/java/wicket/protocol/http/portlet/WicketPortletSession.java?view=diff&rev=465559&r1=465558&r2=465559
==============================================================================
--- incubator/wicket/trunk/wicket/src/main/java/wicket/protocol/http/portlet/WicketPortletSession.java (original)
+++ incubator/wicket/trunk/wicket/src/main/java/wicket/protocol/http/portlet/WicketPortletSession.java Thu Oct 19 03:29:26 2006
@@ -17,7 +17,6 @@
import wicket.Application;
import wicket.IRequestCycleFactory;
import wicket.protocol.http.WebSession;
-import wicket.session.ISessionStore;
/**
* A session subclass for the PortletSession
@@ -52,21 +51,9 @@
if (requestCycleFactory == null)
{
this.requestCycleFactory = ((PortletApplication)Application.get())
- .getDefaultRequestCycleFactory();
+ .getDefaultRequestCycleFactory();
}
return this.requestCycleFactory;
- }
-
-
- /**
- * Gets the session store.
- *
- * @return the session store
- */
- @Override
- protected final ISessionStore getSessionStore()
- {
- return getApplication().getSessionStore();
}
}