Skip to content

Commit 7226089

Browse files
FIX: getChannel -> getChannel() (apache#9217)
Co-authored-by: Rongqian Li <[email protected]>
1 parent 5b9a1a2 commit 7226089

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

‎fe/fe-core/src/main/java/org/apache/doris/common/MetaFooter.java‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,7 @@ public static void write(File imageFile, List<MetaIndex> metaIndices, long check
9898
long endIndex = raf.length();
9999
raf.writeLong(endIndex - startIndex);
100100
MetaMagicNumber.write(raf);
101-
raf.getChannel.force(true);
101+
raf.getChannel().force(true);
102102
}
103103
}
104104

‎fe/fe-core/src/main/java/org/apache/doris/common/MetaHeader.java‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@ public static long write(File imageFile) throws IOException {
8383
raf.seek(0);
8484
MetaMagicNumber.write(raf);
8585
MetaJsonHeader.write(raf);
86-
raf.getChannel.force(true);
86+
raf.getChannel().force(true);
8787
return raf.getFilePointer();
8888
}
8989
}

0 commit comments

Comments
 (0)