HDFS-16621.Remove unused JNStorage#getCurrentDir() (#4404). Contributed by JiangHua Zhu.

Signed-off-by: Ayush Saxena <ayushsaxena@apache.org>
This commit is contained in:
jianghuazhu 2022-06-10 14:42:41 +08:00 committed by GitHub
parent d557c44d94
commit 7f5a34dfaa
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -123,10 +123,6 @@ class JNStorage extends Storage {
return new File(sd.getCurrentDir(), name); return new File(sd.getCurrentDir(), name);
} }
File getCurrentDir() {
return sd.getCurrentDir();
}
/** /**
* Directory {@code edits.sync} temporarily holds the log segments * Directory {@code edits.sync} temporarily holds the log segments
* downloaded through {@link JournalNodeSyncer} before they are moved to * downloaded through {@link JournalNodeSyncer} before they are moved to