Author: julien_viet
Date: 2009-11-03 17:49:06 -0500 (Tue, 03 Nov 2009)
New Revision: 483
Modified:
portal/trunk/component/common/src/main/java/org/exoplatform/commons/utils/Text.java
Log:
make compilable for Java 5
Modified:
portal/trunk/component/common/src/main/java/org/exoplatform/commons/utils/Text.java
===================================================================
---
portal/trunk/component/common/src/main/java/org/exoplatform/commons/utils/Text.java 2009-11-03
20:34:20 UTC (rev 482)
+++
portal/trunk/component/common/src/main/java/org/exoplatform/commons/utils/Text.java 2009-11-03
22:49:06 UTC (rev 483)
@@ -103,7 +103,7 @@
}
if (s == null)
{
- s = new String(bytes, charset);
+ s = new String(bytes, charset.name());
}
writer.append(s);
}
Show replies by date