You are viewing a plain text version of this content. The canonical link for it is here.
Posted to pluto-scm@portals.apache.org by ed...@apache.org on 2010/05/21 19:43:28 UTC
svn commit: r947085 -
/portals/pluto/trunk/pluto-container/src/main/java/org/apache/pluto/container/impl/HttpServletPortletRequestWrapper.java
Author: edalquist
Date: Fri May 21 17:43:28 2010
New Revision: 947085
URL: http://svn.apache.org/viewvc?rev=947085&view=rev
Log:
PLUTO-590 Delegate getContextPath() to PortletRequest
Modified:
portals/pluto/trunk/pluto-container/src/main/java/org/apache/pluto/container/impl/HttpServletPortletRequestWrapper.java
Modified: portals/pluto/trunk/pluto-container/src/main/java/org/apache/pluto/container/impl/HttpServletPortletRequestWrapper.java
URL: http://svn.apache.org/viewvc/portals/pluto/trunk/pluto-container/src/main/java/org/apache/pluto/container/impl/HttpServletPortletRequestWrapper.java?rev=947085&r1=947084&r2=947085&view=diff
==============================================================================
--- portals/pluto/trunk/pluto-container/src/main/java/org/apache/pluto/container/impl/HttpServletPortletRequestWrapper.java (original)
+++ portals/pluto/trunk/pluto-container/src/main/java/org/apache/pluto/container/impl/HttpServletPortletRequestWrapper.java Fri May 21 17:43:28 2010
@@ -198,7 +198,7 @@ public class HttpServletPortletRequestWr
protected PathMethodValues dispPathMethodValues = new PathMethodValues();
/**
- * PATH method values provided to the invoking servlet as derived fro the current (initial or nested) request dispatch
+ * PATH method values provided to the invoking servlet as derived for the current (initial or nested) request dispatch
*/
protected PathMethodValues pathMethodValues = new PathMethodValues();
@@ -976,10 +976,7 @@ public class HttpServletPortletRequestWr
@Override
public String getContextPath()
{
- // synchronize the derived path state values first
- updateRequestPathState();
- // return the derived path method value
- return pathMethodValues.contextPath;
+ return portletRequest.getContextPath();
}
@Override