You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@beehive.apache.org by cr...@apache.org on 2006/04/24 18:10:14 UTC
svn commit: r396594 -
/beehive/trunk/netui/src/pageflow/org/apache/beehive/netui/pageflow/FlowController.java
Author: crogers
Date: Mon Apr 24 09:09:47 2006
New Revision: 396594
URL: http://svn.apache.org/viewcvs?rev=396594&view=rev
Log:
Remove unused field an initialization from this class. Helps performance by reducing the calls to get the ActionServlet attribute from the ServletContext on each reinitialize().
Tests: NetUI BVT pass (WinXP)
Modified:
beehive/trunk/netui/src/pageflow/org/apache/beehive/netui/pageflow/FlowController.java
Modified: beehive/trunk/netui/src/pageflow/org/apache/beehive/netui/pageflow/FlowController.java
URL: http://svn.apache.org/viewcvs/beehive/trunk/netui/src/pageflow/org/apache/beehive/netui/pageflow/FlowController.java?rev=396594&r1=396593&r2=396594&view=diff
==============================================================================
--- beehive/trunk/netui/src/pageflow/org/apache/beehive/netui/pageflow/FlowController.java (original)
+++ beehive/trunk/netui/src/pageflow/org/apache/beehive/netui/pageflow/FlowController.java Mon Apr 24 09:09:47 2006
@@ -91,16 +91,6 @@
protected static Locale defaultLocale = DEFAULT_LOCALE;
- /**
- * Get the current Struts ActionServlet.
- *
- * @deprecated This variable will be removed with no replacement. In most cases,
- * {@link FlowController#getServletContext()} is sufficient; for other cases, the ActionServlet itself
- * is in the ServletContext attribute {@link Globals#ACTION_SERVLET_KEY}.
- */
- protected transient ActionServlet servlet = null;
-
-
static class PerRequestState
{
private HttpServletRequest _request;
@@ -167,7 +157,6 @@
// isn't available to do a lazy initialization.
//
super.reinitialize( request, response, servletContext );
- servlet = getServlet();
}
/**