Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDavid Pursehouse2016-02-02 09:27:47 +0000
committerDavid Pursehouse2016-02-02 09:27:47 +0000
commit521f513d6d5d43bbf27b976434a4b75c4798d718 (patch)
tree6fd81f264dd1edbd0bc8feda9d06bba7fe46ed4f
parent2fab7f20a7faeb9a08f352d7f6014c9a9c5ac5ab (diff)
downloadjgit-521f513d6d5d43bbf27b976434a4b75c4798d718.tar.gz
jgit-521f513d6d5d43bbf27b976434a4b75c4798d718.tar.xz
jgit-521f513d6d5d43bbf27b976434a4b75c4798d718.zip
CommitCommand: Remove declaration of unthrown exception
Change-Id: I1795b1e510ab170f062ee6c5988d7a7567abe260 Signed-off-by: David Pursehouse <david.pursehouse@sonymobile.com>
-rw-r--r--org.eclipse.jgit/src/org/eclipse/jgit/api/CommitCommand.java2
1 files changed, 1 insertions, 1 deletions
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<RevCommit> {
}
}
- private void insertChangeId(ObjectId treeId) throws IOException {
+ private void insertChangeId(ObjectId treeId) {
ObjectId firstParentId = null;
if (!parents.isEmpty())
firstParentId = parents.get(0);

Back to the top