Author: hoang_to
Date: 2010-05-20 07:01:22 -0400 (Thu, 20 May 2010)
New Revision: 3158
Modified:
portal/trunk/webui/portal/src/main/java/org/exoplatform/portal/webui/application/UIPortletForm.java
Log:
Update Java code to have jdk 1.5 compatibility, that is needed for eXo 's Hudson
build
Modified:
portal/trunk/webui/portal/src/main/java/org/exoplatform/portal/webui/application/UIPortletForm.java
===================================================================
---
portal/trunk/webui/portal/src/main/java/org/exoplatform/portal/webui/application/UIPortletForm.java 2010-05-20
10:01:40 UTC (rev 3157)
+++
portal/trunk/webui/portal/src/main/java/org/exoplatform/portal/webui/application/UIPortletForm.java 2010-05-20
11:01:22 UTC (rev 3158)
@@ -218,7 +218,7 @@
if (portletResponse instanceof FragmentResponse)
{
FragmentResponse fragmentResponse = (FragmentResponse)portletResponse;
- content = new String(fragmentResponse.getBytes(),
Charset.forName("UTF-8"));
+ content = new String(fragmentResponse.getBytes(), "UTF-8");
}
else
{
Show replies by date