Skip to content

Commit c878fe5

Browse files
committed
readHeader() can be final
1 parent a1a6e36 commit c878fe5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

visualvm/libs.profiler/lib.profiler/src/org/graalvm/visualvm/lib/jfluid/heap/HprofByteBuffer.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -131,7 +131,7 @@ long capacity() {
131131

132132
abstract void get(long position, byte[] chars);
133133

134-
void readHeader() throws IOException {
134+
final void readHeader() throws IOException {
135135
long[] offset = new long[1];
136136
String magic = readStringNull(offset, MINIMAL_SIZE);
137137

0 commit comments

Comments
 (0)