Browse Source

CommitCommand: Remove declaration of unthrown exception

Change-Id: I1795b1e510ab170f062ee6c5988d7a7567abe260
Signed-off-by: David Pursehouse <david.pursehouse@sonymobile.com>
tags/v4.3.0.201603230630-rc1
David Pursehouse 8 years ago
parent
commit
521f513d6d
1 changed files with 1 additions and 1 deletions
  1. 1
    1
      org.eclipse.jgit/src/org/eclipse/jgit/api/CommitCommand.java

+ 1
- 1
org.eclipse.jgit/src/org/eclipse/jgit/api/CommitCommand.java View File

@@ -312,7 +312,7 @@ public class CommitCommand extends GitCommand<RevCommit> {
}
}

private void insertChangeId(ObjectId treeId) throws IOException {
private void insertChangeId(ObjectId treeId) {
ObjectId firstParentId = null;
if (!parents.isEmpty())
firstParentId = parents.get(0);

Loading…
Cancel
Save