Author: doogie
Date: Mon Jun 29 17:38:59 2009
New Revision: 789393
URL:
http://svn.apache.org/viewvc?rev=789393&view=revLog:
Switch appendContentUrl to use the writer variant of
appendContentPrefix.
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=789393&r1=789392&r2=789393&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 17:38:59 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);
}