Author: nilsga
Date: Sun Aug 12 22:37:23 2007
New Revision: 565246

URL: http://svn.apache.org/viewvc?view=rev&rev=565246
Log:
Removed "portletSupportActive" which is no longer needed.

Modified:
    
struts/struts2/trunk/core/src/main/java/org/apache/struts2/dispatcher/Dispatcher.java

Modified: 
struts/struts2/trunk/core/src/main/java/org/apache/struts2/dispatcher/Dispatcher.java
URL: 
http://svn.apache.org/viewvc/struts/struts2/trunk/core/src/main/java/org/apache/struts2/dispatcher/Dispatcher.java?view=diff&rev=565246&r1=565245&r2=565246
==============================================================================
--- 
struts/struts2/trunk/core/src/main/java/org/apache/struts2/dispatcher/Dispatcher.java
 (original)
+++ 
struts/struts2/trunk/core/src/main/java/org/apache/struts2/dispatcher/Dispatcher.java
 Sun Aug 12 22:37:23 2007
@@ -106,12 +106,6 @@
     private ConfigurationManager configurationManager;
 
     /**
-     * Store whether portlet support is active
-     * (set to true by Jsr168Dispatcher).
-     */
-    private static boolean portletSupportActive;
-
-    /**
      * Store state of  StrutsConstants.STRUTS_DEVMODE setting.
      */
     private static boolean devMode;
@@ -760,23 +754,6 @@
                 // we're already sending an error, not much else we can do if 
more stuff breaks
             }
         }
-    }
-
-    /**
-     * Return <tt>true</tt>, if portlet support is active, <tt>false</tt> 
otherwise.
-     *
-     * @return <tt>true</tt>, if portlet support is active, <tt>false</tt> 
otherwise.
-     */
-    public boolean isPortletSupportActive() {
-        return portletSupportActive;
-    }
-
-    /**
-     * Modify the portlet support mode.
-     * @param portletSupportActive <tt>true</tt> or <tt>false</tt>
-     */
-    public static void setPortletSupportActive(boolean portletSupportActive) {
-        Dispatcher.portletSupportActive = portletSupportActive;
     }
 
     /**


Reply via email to