This commit is contained in:
parent
0e6598d48e
commit
1d79e889ca
@ -201,7 +201,7 @@
|
||||
}
|
||||
}
|
||||
--- bnd-5.1.1.REL/aQute.libg/src/aQute/lib/io/IO.java 2020-06-16 23:03:04.000000000 +0200
|
||||
+++ bnd-5.1.1.REL/aQute.libg/src/aQute/lib/io/IO.java 2021-10-18 07:56:16.211104140 +0200
|
||||
+++ bnd-5.1.1.REL/aQute.libg/src/aQute/lib/io/IO.java 2021-10-18 08:32:23.545468242 +0200
|
||||
@@ -25,6 +25,7 @@
|
||||
import java.net.MalformedURLException;
|
||||
import java.net.URL;
|
||||
@ -276,6 +276,15 @@
|
||||
out.write(bb);
|
||||
}
|
||||
return out;
|
||||
@@ -490,7 +491,7 @@
|
||||
try {
|
||||
ByteBuffer bb = ByteBuffer.allocate(BUFFER_SIZE);
|
||||
byte[] buffer = bb.array();
|
||||
- for (; in.read(bb) > 0; bb.clear()) {
|
||||
+ for (; in.read(bb) > 0; ((Buffer)bb).clear()) {
|
||||
out.write(buffer, 0, bb.position());
|
||||
}
|
||||
return out;
|
||||
@@ -515,7 +516,7 @@
|
||||
}
|
||||
ByteBuffer bb = ByteBuffer.allocate((int) size);
|
||||
|
Loading…
x
Reference in New Issue
Block a user