Author: doogie
Date: Mon Jun 29 03:22:53 2009
New Revision: 789202
URL:
http://svn.apache.org/viewvc?rev=789202&view=revLog:
Use the variant of ContentUrlTag.appendContentPrefix that takes an
Appendable.
Modified:
ofbiz/trunk/framework/widget/src/org/ofbiz/widget/html/HtmlFormRenderer.java
Modified: ofbiz/trunk/framework/widget/src/org/ofbiz/widget/html/HtmlFormRenderer.java
URL:
http://svn.apache.org/viewvc/ofbiz/trunk/framework/widget/src/org/ofbiz/widget/html/HtmlFormRenderer.java?rev=789202&r1=789201&r2=789202&view=diff==============================================================================
--- ofbiz/trunk/framework/widget/src/org/ofbiz/widget/html/HtmlFormRenderer.java (original)
+++ ofbiz/trunk/framework/widget/src/org/ofbiz/widget/html/HtmlFormRenderer.java Mon Jun 29 03:22:53 2009
@@ -107,9 +107,7 @@
}
public void appendContentUrl(Appendable writer, String location) throws IOException {
- StringBuilder buffer = new StringBuilder();
- ContentUrlTag.appendContentPrefix(this.request, buffer);
- writer.append(buffer.toString());
+ ContentUrlTag.appendContentPrefix(this.request, writer);
writer.append(location);
}