You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ofbiz.apache.org by do...@apache.org on 2008/09/06 00:21:07 UTC

svn commit: r692566 - /ofbiz/trunk/framework/base/src/org/ofbiz/base/util/UtilURL.java

Author: doogie
Date: Fri Sep  5 15:21:06 2008
New Revision: 692566

URL: http://svn.apache.org/viewvc?rev=692566&view=rev
Log:
Use a StringBuilder to read url text.

Modified:
    ofbiz/trunk/framework/base/src/org/ofbiz/base/util/UtilURL.java

Modified: ofbiz/trunk/framework/base/src/org/ofbiz/base/util/UtilURL.java
URL: http://svn.apache.org/viewvc/ofbiz/trunk/framework/base/src/org/ofbiz/base/util/UtilURL.java?rev=692566&r1=692565&r2=692566&view=diff
==============================================================================
--- ofbiz/trunk/framework/base/src/org/ofbiz/base/util/UtilURL.java (original)
+++ ofbiz/trunk/framework/base/src/org/ofbiz/base/util/UtilURL.java Fri Sep  5 15:21:06 2008
@@ -136,7 +136,7 @@
     public static String readUrlText(URL url) throws IOException {
     	InputStream stream = url.openStream();
     
-        StringBuffer buf = new StringBuffer();
+        StringBuilder buf = new StringBuilder();
         BufferedReader in = null;
         try {
             in = new BufferedReader(new InputStreamReader(stream));