Author: hoang_to
Date: 2010-08-11 03:30:58 -0400 (Wed, 11 Aug 2010)
New Revision: 3803
Modified:
portal/branches/branched-r3776/component/resources/src/main/java/org/exoplatform/services/resources/ExoResourceBundle.java
Log:
Apply patch of GTNPORTAL-543
Modified:
portal/branches/branched-r3776/component/resources/src/main/java/org/exoplatform/services/resources/ExoResourceBundle.java
===================================================================
---
portal/branches/branched-r3776/component/resources/src/main/java/org/exoplatform/services/resources/ExoResourceBundle.java 2010-08-11
07:28:13 UTC (rev 3802)
+++
portal/branches/branched-r3776/component/resources/src/main/java/org/exoplatform/services/resources/ExoResourceBundle.java 2010-08-11
07:30:58 UTC (rev 3803)
@@ -20,14 +20,10 @@
package org.exoplatform.services.resources;
import java.io.Serializable;
-import java.util.ArrayList;
import java.util.Enumeration;
-import java.util.List;
import java.util.ListResourceBundle;
import java.util.Map;
import java.util.ResourceBundle;
-import java.util.regex.Matcher;
-import java.util.regex.Pattern;
/**
* May 7, 2004
@@ -78,7 +74,7 @@
String key = keys.nextElement();
if (key != null)
{
- map.put(key, getString(key));
+ map.put(key.trim(), getString(key));
}
}
}