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; } }
private static State convertState(StorageState state) { switch(state) { case READ_ONLY_SHARED: return State.READ_ONLY_SHARED; case NORMAL: default: return State.NORMAL; } }