RefUpdateUtil: Fix warning about missing case labels
Change-Id: I35a7632fd98863dc88476e311030f079f1f78011
This commit is contained in:

committed by
David Ostrovsky

parent
0c8c1c2771
commit
dec7a8e363
@@ -125,6 +125,11 @@ public class RefUpdateUtil {
|
|||||||
case LOCK_FAILURE:
|
case LOCK_FAILURE:
|
||||||
throw new LockFailureException("Failed to update " + ru.getName() + ": " + result, ru);
|
throw new LockFailureException("Failed to update " + ru.getName() + ": " + result, ru);
|
||||||
default:
|
default:
|
||||||
|
case IO_FAILURE:
|
||||||
|
case REJECTED:
|
||||||
|
case REJECTED_CURRENT_BRANCH:
|
||||||
|
case REJECTED_MISSING_OBJECT:
|
||||||
|
case REJECTED_OTHER_REASON:
|
||||||
throw new IOException("Failed to update " + ru.getName() + ": " + ru.getResult());
|
throw new IOException("Failed to update " + ru.getName() + ": " + ru.getResult());
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user