You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@sling.apache.org by cz...@apache.org on 2008/02/25 09:42:40 UTC

svn commit: r630764 - in /incubator/sling/trunk/sling/core/src/main/java/org/apache/sling/core: impl/filter/ThemeResolverFilter.java impl/request/RequestData.java theme/

Author: cziegeler
Date: Mon Feb 25 00:42:38 2008
New Revision: 630764

URL: http://svn.apache.org/viewvc?rev=630764&view=rev
Log:
SLING-270: Remove theme support from core.

Removed:
    incubator/sling/trunk/sling/core/src/main/java/org/apache/sling/core/impl/filter/ThemeResolverFilter.java
    incubator/sling/trunk/sling/core/src/main/java/org/apache/sling/core/theme/
Modified:
    incubator/sling/trunk/sling/core/src/main/java/org/apache/sling/core/impl/request/RequestData.java

Modified: incubator/sling/trunk/sling/core/src/main/java/org/apache/sling/core/impl/request/RequestData.java
URL: http://svn.apache.org/viewvc/incubator/sling/trunk/sling/core/src/main/java/org/apache/sling/core/impl/request/RequestData.java?rev=630764&r1=630763&r2=630764&view=diff
==============================================================================
--- incubator/sling/trunk/sling/core/src/main/java/org/apache/sling/core/impl/request/RequestData.java (original)
+++ incubator/sling/trunk/sling/core/src/main/java/org/apache/sling/core/impl/request/RequestData.java Mon Feb 25 00:42:38 2008
@@ -59,7 +59,6 @@
 import org.apache.sling.core.impl.adapter.SlingServletRequestAdapter;
 import org.apache.sling.core.impl.output.BufferProvider;
 import org.apache.sling.core.impl.parameters.ParameterSupport;
-import org.apache.sling.core.theme.Theme;
 import org.slf4j.Logger;
 import org.slf4j.LoggerFactory;
 
@@ -99,8 +98,6 @@
 
     private Locale locale;
 
-    private Theme theme;
-
     /** the current ContentData */
     private ContentData currentContentData;
 
@@ -549,23 +546,6 @@
 
     public ServiceLocator getServiceLocator() {
         return slingMainServlet.getServiceLocator();
-    }
-
-    /**
-     * @return the theme
-     */
-    public Theme getTheme() {
-        return theme;
-    }
-
-    /**
-     * @param theme the theme to set
-     */
-    public void setTheme(Theme theme) {
-        this.theme = theme;
-        // provide the current theme to components as a request attribute
-        // TODO - We should define a well known constant for this
-        servletRequest.setAttribute(Theme.class.getName(), theme);
     }
 
     /**