only: fix warning #6863
This commit is contained in:
parent
78ddb0aab1
commit
3c2d5bd347
|
@ -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;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue