Fix redundant throws clause

MissingObjectException and IncorrectObjectTypeException are
subtypes of IOException.

Change-Id: I60aa9c5a2f30e998d7e28b83c2990dd6997cc90d
This commit is contained in:
Andrew Bonventre
2016-09-03 22:46:54 -04:00
parent 69ebca7052
commit a7e0fce3eb

View File

@@ -1887,7 +1887,7 @@ public class ReceiveCommits {
}
private void rejectImplicitMerges(Set<RevCommit> mergedParents)
throws MissingObjectException, IncorrectObjectTypeException, IOException {
throws IOException {
if (!mergedParents.isEmpty()) {
Ref targetRef = allRefs.get(magicBranch.ctl.getRefName());
if (targetRef != null) {