Merge branch '1.5.x'

This commit is contained in:
Stephane Nicoll
2017-10-29 14:11:26 +01:00
5 changed files with 6 additions and 6 deletions

View File

@@ -95,7 +95,7 @@ public class TestJarFile {
}
private void copy(InputStream in, OutputStream out) throws IOException {
int bytesRead = -1;
int bytesRead;
while ((bytesRead = in.read(this.buffer)) != -1) {
out.write(this.buffer, 0, bytesRead);
}