Skip to content

Commit

Permalink
FIX: getChannel -> getChannel() (apache#9217)
Browse files Browse the repository at this point in the history
Co-authored-by: Rongqian Li <rongqian_li@idgcapital.com>
  • Loading branch information
2 people authored and starocean999 committed May 19, 2022
1 parent b4c2813 commit b697991
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@ public static void write(File imageFile, List<MetaIndex> metaIndices, long check
long endIndex = raf.length();
raf.writeLong(endIndex - startIndex);
MetaMagicNumber.write(raf);
raf.getChannel.force(true);
raf.getChannel().force(true);
}
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ public static long write(File imageFile) throws IOException {
raf.seek(0);
MetaMagicNumber.write(raf);
MetaJsonHeader.write(raf);
raf.getChannel.force(true);
raf.getChannel().force(true);
return raf.getFilePointer();
}
}
Expand Down

0 comments on commit b697991

Please sign in to comment.