Remove unnecessary assignments

Closes gh-10805
This commit is contained in:
Johnny Lim
2017-10-29 09:08:18 +09:00
committed by Stephane Nicoll
parent 03174277b4
commit 4979af9fa5
5 changed files with 6 additions and 6 deletions

View File

@@ -150,7 +150,7 @@ public class JarFileArchive implements Archive {
OutputStream outputStream = new FileOutputStream(file);
try {
byte[] buffer = new byte[BUFFER_SIZE];
int bytesRead = -1;
int bytesRead;
while ((bytesRead = inputStream.read(buffer)) != -1) {
outputStream.write(buffer, 0, bytesRead);
}