only: fix warning #6863

This commit is contained in:
kifir 2024-09-08 12:59:53 +03:00 committed by rusefillc
parent 78ddb0aab1
commit 3c2d5bd347
1 changed files with 1 additions and 1 deletions

View File

@ -78,9 +78,9 @@ public class ConfigurationImageFile {
final byte[] image = new byte[size];
final int result = fis.read(image);
if (result == image.length) {
log.warn(String.format("%d bytes are read instead of expected %d", result, size));
return image;
} else {
log.warn(String.format("%d bytes are read instead of expected %d", result, size));
return null;
}
}