diff options
author | Matthias Sohn <matthias.sohn@sap.com> | 2017-08-26 09:08:16 +0200 |
---|---|---|
committer | Matthias Sohn <matthias.sohn@sap.com> | 2017-08-26 09:11:02 +0200 |
commit | 7511bc886e801f5f30d8048117618dd3814cc3e7 (patch) | |
tree | 953355ba40a3555d254491c26fbebb2d1f4dc058 /org.eclipse.jgit.test/tst/org/eclipse/jgit/api | |
parent | e237c289369ff4e30dbc0e0f3fe6e7e097086c63 (diff) | |
download | jgit-7511bc886e801f5f30d8048117618dd3814cc3e7.tar.gz jgit-7511bc886e801f5f30d8048117618dd3814cc3e7.zip |
Fix unthrown exception errors in CloneCommandTest
The Eclipse compiler raises errors for unthrown exceptions declared to
be thrown by test methods introduced in 88e45399.
Change-Id: I0d91c89e1b20ceff52c38b759abf906cc94e9902
Signed-off-by: Matthias Sohn <matthias.sohn@sap.com>
Diffstat (limited to 'org.eclipse.jgit.test/tst/org/eclipse/jgit/api')
-rw-r--r-- | org.eclipse.jgit.test/tst/org/eclipse/jgit/api/CloneCommandTest.java | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/org.eclipse.jgit.test/tst/org/eclipse/jgit/api/CloneCommandTest.java b/org.eclipse.jgit.test/tst/org/eclipse/jgit/api/CloneCommandTest.java index 6ff3b25d93..e687a6ca7f 100644 --- a/org.eclipse.jgit.test/tst/org/eclipse/jgit/api/CloneCommandTest.java +++ b/org.eclipse.jgit.test/tst/org/eclipse/jgit/api/CloneCommandTest.java @@ -156,8 +156,8 @@ public class CloneCommandTest extends RepositoryTestCase { } @Test - public void testCloneRepositoryDefaultDirectory() throws IOException, URISyntaxException, - JGitInternalException, GitAPIException { + public void testCloneRepositoryDefaultDirectory() + throws URISyntaxException, JGitInternalException { CloneCommand command = Git.cloneRepository().setURI(fileUri()); command.verifyDirectories(new URIish(fileUri())); @@ -166,8 +166,8 @@ public class CloneCommandTest extends RepositoryTestCase { } @Test - public void testCloneBareRepositoryDefaultDirectory() throws IOException, URISyntaxException, - JGitInternalException, GitAPIException { + public void testCloneBareRepositoryDefaultDirectory() + throws URISyntaxException, JGitInternalException { CloneCommand command = Git.cloneRepository().setURI(fileUri()).setBare(true); command.verifyDirectories(new URIish(fileUri())); |