HDFS-11406. Remove unused getStartInstance and getFinalizeInstance in FSEditLogOp. Contributed by Alison Yu.
This commit is contained in:
parent
fc9ad3ce3a
commit
8ef7ebbc71
@ -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;
|
||||||
|
Loading…
Reference in New Issue
Block a user