private static StorageState convert(State state) { switch(state) { case READ_ONLY: return StorageState.READ_ONLY; case NORMAL: default: return StorageState.NORMAL; } }
private static State convert(StorageState state) { switch(state) { case READ_ONLY: return DatanodeStorage.State.READ_ONLY; case NORMAL: default: return DatanodeStorage.State.NORMAL; } }
private static StorageState convert(State state) { switch (state) { case READ_ONLY: return StorageState.READ_ONLY; case NORMAL: default: return StorageState.NORMAL; } }
private static State convert(StorageState state) { switch (state) { case READ_ONLY: return DatanodeStorage.State.READ_ONLY; case NORMAL: default: return DatanodeStorage.State.NORMAL; } }
private static StorageState convertState(State state) { switch(state) { case READ_ONLY_SHARED: return StorageState.READ_ONLY_SHARED; case NORMAL: default: return StorageState.NORMAL; } }
private static State convertState(StorageState state) { switch(state) { case READ_ONLY_SHARED: return DatanodeStorage.State.READ_ONLY_SHARED; case NORMAL: default: return DatanodeStorage.State.NORMAL; } }