Author: mwringe
Date: 2010-03-19 17:02:47 -0400 (Fri, 19 Mar 2010)
New Revision: 2323
Modified:
portal/trunk/webui/portal/src/main/java/org/exoplatform/portal/application/PortalRequestContext.java
Log:
GTNPORTAL-337: fix for previous patch to make it java 1.5 compatible.
Modified:
portal/trunk/webui/portal/src/main/java/org/exoplatform/portal/application/PortalRequestContext.java
===================================================================
---
portal/trunk/webui/portal/src/main/java/org/exoplatform/portal/application/PortalRequestContext.java 2010-03-19
17:34:17 UTC (rev 2322)
+++
portal/trunk/webui/portal/src/main/java/org/exoplatform/portal/application/PortalRequestContext.java 2010-03-19
21:02:47 UTC (rev 2323)
@@ -173,7 +173,7 @@
String contextPath = URLDecoder.decode(req.getContextPath(), "UTF-8");
String pathInfo = requestURI_.substring((servletPath + contextPath).length());
- if (pathInfo == null || pathInfo.isEmpty())
+ if (pathInfo == null || pathInfo.length() == 0)
{
pathInfo = "/";
}
Show replies by date