Skip to content

Commit a4edc83

Browse files
committed
DataHandle: add missing final keywords
1 parent 8b065ba commit a4edc83

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/main/java/org/scijava/io/handle/DataHandle.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -429,7 +429,7 @@ default void readFully(final byte[] b, final int off, final int len)
429429
if (len < 0) throw new IndexOutOfBoundsException();
430430
int n = 0;
431431
while (n < len) {
432-
int count = read(b, off + n, len - n);
432+
final int count = read(b, off + n, len - n);
433433
if (count < 0) throw new EOFException();
434434
n += count;
435435
}
@@ -532,7 +532,7 @@ default String readLine() throws IOException {
532532
break;
533533
case '\r':
534534
eol = true;
535-
long cur = offset();
535+
final long cur = offset();
536536
if (read() != '\n') seek(cur);
537537
break;
538538
default:

0 commit comments

Comments
 (0)