From: David Pursehouse Date: Tue, 2 Feb 2016 09:27:47 +0000 (+0900) Subject: CommitCommand: Remove declaration of unthrown exception X-Git-Tag: v4.3.0.201603230630-rc1~36^2~1 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=521f513d6d5d43bbf27b976434a4b75c4798d718;p=jgit.git CommitCommand: Remove declaration of unthrown exception Change-Id: I1795b1e510ab170f062ee6c5988d7a7567abe260 Signed-off-by: David Pursehouse --- diff --git a/org.eclipse.jgit/src/org/eclipse/jgit/api/CommitCommand.java b/org.eclipse.jgit/src/org/eclipse/jgit/api/CommitCommand.java index b5057ad282..0abb8ba4ec 100644 --- a/org.eclipse.jgit/src/org/eclipse/jgit/api/CommitCommand.java +++ b/org.eclipse.jgit/src/org/eclipse/jgit/api/CommitCommand.java @@ -312,7 +312,7 @@ public class CommitCommand extends GitCommand { } } - private void insertChangeId(ObjectId treeId) throws IOException { + private void insertChangeId(ObjectId treeId) { ObjectId firstParentId = null; if (!parents.isEmpty()) firstParentId = parents.get(0);