Author: nfilotto
Date: 2009-10-08 04:25:38 -0400 (Thu, 08 Oct 2009)
New Revision: 261
Modified:
kernel/trunk/container/src/main/java/org/exoplatform/container/PortalContainerContext.java
Log:
EXOJCR-166: Support separated ear delivery
Modified:
kernel/trunk/container/src/main/java/org/exoplatform/container/PortalContainerContext.java
===================================================================
---
kernel/trunk/container/src/main/java/org/exoplatform/container/PortalContainerContext.java 2009-10-07
15:03:24 UTC (rev 260)
+++
kernel/trunk/container/src/main/java/org/exoplatform/container/PortalContainerContext.java 2009-10-08
08:25:38 UTC (rev 261)
@@ -369,9 +369,6 @@
*/
public String getContextPath()
{
- StringBuilder result = new StringBuilder();
- result.append('/');
- result.append(container.getName());
- return result.toString();
+ return getPortalContext().getContextPath();
}
}