]> source.dussan.org Git - jgit.git/commitdiff
CommitCommand: Remove declaration of unthrown exception 36/65636/1
authorDavid Pursehouse <david.pursehouse@sonymobile.com>
Tue, 2 Feb 2016 09:27:47 +0000 (18:27 +0900)
committerDavid Pursehouse <david.pursehouse@sonymobile.com>
Tue, 2 Feb 2016 09:27:47 +0000 (18:27 +0900)
Change-Id: I1795b1e510ab170f062ee6c5988d7a7567abe260
Signed-off-by: David Pursehouse <david.pursehouse@sonymobile.com>
org.eclipse.jgit/src/org/eclipse/jgit/api/CommitCommand.java

index b5057ad282e94f4023d6ce716759f4fea810fcaa..0abb8ba4ecac6753d11ddf5e1fe0c43a15572669 100644 (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);