HDFS-11406. Remove unused getStartInstance and getFinalizeInstance in FSEditLogOp. Contributed by Alison Yu.

This commit is contained in:
Andrew Wang 2017-02-21 14:54:20 -08:00
parent fc9ad3ce3a
commit 8ef7ebbc71

View File

@ -4351,14 +4351,6 @@ public RollingUpgradeOp(FSEditLogOpCodes code, String name) {
this.name = StringUtils.toUpperCase(name); this.name = StringUtils.toUpperCase(name);
} }
static RollingUpgradeOp getStartInstance(OpInstanceCache cache) {
return (RollingUpgradeOp) cache.get(OP_ROLLING_UPGRADE_START);
}
static RollingUpgradeOp getFinalizeInstance(OpInstanceCache cache) {
return (RollingUpgradeOp) cache.get(OP_ROLLING_UPGRADE_FINALIZE);
}
@Override @Override
void resetSubFields() { void resetSubFields() {
time = 0L; time = 0L;