Author: julien_viet
Date: 2010-11-04 11:29:38 -0400 (Thu, 04 Nov 2010)
New Revision: 4946
Modified:
portal/branches/navcontroller/component/web/controller/src/main/java/org/exoplatform/web/controller/router/Route.java
Log:
replace literal by constant
Modified:
portal/branches/navcontroller/component/web/controller/src/main/java/org/exoplatform/web/controller/router/Route.java
===================================================================
---
portal/branches/navcontroller/component/web/controller/src/main/java/org/exoplatform/web/controller/router/Route.java 2010-11-04
15:14:38 UTC (rev 4945)
+++
portal/branches/navcontroller/component/web/controller/src/main/java/org/exoplatform/web/controller/router/Route.java 2010-11-04
15:29:38 UTC (rev 4946)
@@ -213,12 +213,7 @@
switch (param.encodingMode)
{
case DEFAULT_FORM:
-
- // JULIEN
- // TEMPORARY WORD AROUND
- // FIX ME
- s = s.replace('/', '~');
-
+ s = s.replace('/', slashEscape);
matched = param.pattern.matcher(s).matches();
break;
case PRESERVE_PATH: