mirror of
https://github.com/ysoftdevs/DependencyCheck.git
synced 2026-05-01 04:34:45 +02:00
checkstyle/pmd suggested corrections
This commit is contained in:
@@ -68,7 +68,7 @@ public final class Checksum {
|
||||
ch = fis.getChannel();
|
||||
final ByteBuffer buf = ByteBuffer.allocateDirect(8192);
|
||||
int b = ch.read(buf);
|
||||
while ((b != -1) && (b != 0)) {
|
||||
while (b != -1 && b != 0) {
|
||||
buf.flip();
|
||||
final byte[] bytes = new byte[b];
|
||||
buf.get(bytes);
|
||||
|
||||
Reference in New Issue
Block a user