Fix redundant throws clause
MissingObjectException and IncorrectObjectTypeException are subtypes of IOException. Change-Id: I60aa9c5a2f30e998d7e28b83c2990dd6997cc90d
This commit is contained in:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user