Fix redundant throws clause
+ MergeConflictException is a subtype of ResourceConflictException Change-Id: I88dda5f847f4ac353279ea3e1a248f23e43c64db
This commit is contained in:
@@ -238,9 +238,9 @@ public class RebaseChangeOp extends BatchUpdate.Op {
|
||||
* @throws MergeConflictException the rebase failed due to a merge conflict.
|
||||
* @throws IOException the merge failed for another reason.
|
||||
*/
|
||||
private RevCommit rebaseCommit(RepoContext ctx, RevCommit original,
|
||||
ObjectId base, String commitMessage)
|
||||
throws ResourceConflictException, MergeConflictException, IOException {
|
||||
private RevCommit rebaseCommit(
|
||||
RepoContext ctx, RevCommit original, ObjectId base, String commitMessage)
|
||||
throws ResourceConflictException, IOException {
|
||||
RevCommit parentCommit = original.getParent(0);
|
||||
|
||||
if (base.equals(parentCommit)) {
|
||||
|
||||
Reference in New Issue
Block a user