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

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

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

doogie-3
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));