Author: erwan
Date: Thu Jan 20 10:10:52 2011
New Revision: 1061189
URL:
http://svn.apache.org/viewvc?rev=1061189&view=revLog:
Displaying help was in error in the big topics, buffer.flip() was misplaced
Modified:
ofbiz/trunk/framework/base/src/org/ofbiz/base/util/UtilIO.java
Modified: ofbiz/trunk/framework/base/src/org/ofbiz/base/util/UtilIO.java
URL:
http://svn.apache.org/viewvc/ofbiz/trunk/framework/base/src/org/ofbiz/base/util/UtilIO.java?rev=1061189&r1=1061188&r2=1061189&view=diff==============================================================================
--- ofbiz/trunk/framework/base/src/org/ofbiz/base/util/UtilIO.java (original)
+++ ofbiz/trunk/framework/base/src/org/ofbiz/base/util/UtilIO.java Thu Jan 20 10:10:52 2011
@@ -106,9 +106,9 @@ public final class UtilIO {
try {
CharBuffer buffer = CharBuffer.allocate(4096);
while (reader.read(buffer) > 0) {
+ buffer.flip();
buffer.rewind();
out.append(buffer);
- buffer.flip();
}
} finally {
if (closeIn) IOUtils.closeQuietly(reader);