sling-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From cziege...@apache.org
Subject svn commit: r784046 - /incubator/sling/whiteboard/portal/container-api/src/main/java/org/apache/sling/portal/container/api/ContainerServlet.java
Date Fri, 12 Jun 2009 09:23:28 GMT
Author: cziegeler
Date: Fri Jun 12 09:23:23 2009
New Revision: 784046

URL: http://svn.apache.org/viewvc?rev=784046&view=rev
Log:
Throw exception if request is not a portlet request.

Modified:
    incubator/sling/whiteboard/portal/container-api/src/main/java/org/apache/sling/portal/container/api/ContainerServlet.java

Modified: incubator/sling/whiteboard/portal/container-api/src/main/java/org/apache/sling/portal/container/api/ContainerServlet.java
URL: http://svn.apache.org/viewvc/incubator/sling/whiteboard/portal/container-api/src/main/java/org/apache/sling/portal/container/api/ContainerServlet.java?rev=784046&r1=784045&r2=784046&view=diff
==============================================================================
--- incubator/sling/whiteboard/portal/container-api/src/main/java/org/apache/sling/portal/container/api/ContainerServlet.java
(original)
+++ incubator/sling/whiteboard/portal/container-api/src/main/java/org/apache/sling/portal/container/api/ContainerServlet.java
Fri Jun 12 09:23:23 2009
@@ -88,6 +88,8 @@
             } finally {
                 req.removeAttribute(Container.ATTR_CONTAINER);
             }
+            return;
         }
+        throw new ServletException("No portlet request.");
     }
 }



Mime
View raw message