[Minor] code cleanup

This commit is contained in:
Robert von Burg 2023-04-06 14:46:30 +02:00
parent 47e3072b1b
commit 6b6a50c88e
Signed by: eitch
GPG Key ID: 75DB9C85C74331F7
1 changed files with 1 additions and 1 deletions

View File

@ -276,7 +276,7 @@ public class FileHelper {
try (BufferedInputStream inBuffer = new BufferedInputStream(Files.newInputStream(fromFile.toPath()));
BufferedOutputStream outBuffer = new BufferedOutputStream(Files.newOutputStream(toFile.toPath()))) {
int theByte = 0;
int theByte;
while ((theByte = inBuffer.read()) > -1) {
outBuffer.write(theByte);