FIX: getChannel -> getChannel() (#9217)

Co-authored-by: Rongqian Li <rongqian_li@idgcapital.com>
This commit is contained in:
Stalary
2022-04-25 17:46:00 +08:00
committed by GitHub
parent 5b9a1a2a5d
commit 7226089116
2 changed files with 2 additions and 2 deletions

View File

@ -98,7 +98,7 @@ public class MetaFooter {
long endIndex = raf.length();
raf.writeLong(endIndex - startIndex);
MetaMagicNumber.write(raf);
raf.getChannel.force(true);
raf.getChannel().force(true);
}
}

View File

@ -83,7 +83,7 @@ public class MetaHeader {
raf.seek(0);
MetaMagicNumber.write(raf);
MetaJsonHeader.write(raf);
raf.getChannel.force(true);
raf.getChannel().force(true);
return raf.getFilePointer();
}
}