Author: julien(a)jboss.com
Date: 2007-11-06 05:16:30 -0500 (Tue, 06 Nov 2007)
New Revision: 8831
Modified:
modules/portlet/trunk/test/src/main/org/jboss/portal/portlet/test/PortletURLRenderer.java
Log:
update portlet module to use FastURLEncoder.getUTF8Instance() instead of
FastURLEncoder.getInstance()
Modified:
modules/portlet/trunk/test/src/main/org/jboss/portal/portlet/test/PortletURLRenderer.java
===================================================================
---
modules/portlet/trunk/test/src/main/org/jboss/portal/portlet/test/PortletURLRenderer.java 2007-11-06
10:04:27 UTC (rev 8830)
+++
modules/portlet/trunk/test/src/main/org/jboss/portal/portlet/test/PortletURLRenderer.java 2007-11-06
10:16:30 UTC (rev 8831)
@@ -137,9 +137,9 @@
{
String value = values[j];
buffer.append(first ? '?' : '&');
- buffer.append(name, FastURLEncoder.getInstance());
+ buffer.append(name, FastURLEncoder.getUTF8Instance());
buffer.append('=');
- buffer.append(value, FastURLEncoder.getInstance());
+ buffer.append(value, FastURLEncoder.getUTF8Instance());
first = false;
}
}
Show replies by date