Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMatthias Sohn2020-01-03 21:35:33 +0000
committerMatthias Sohn2020-03-06 00:49:00 +0000
commit31b08ba847516dcbdba1c8994a0961c78784cacd (patch)
tree6cc62d324dc8bb03ed5b55e4675440b064a108ee /org.eclipse.egit.github.core.tests/src/org/eclipse
parent038e8fed953737e163e57848a3bcb07b3bb5d682 (diff)
downloadegit-github-31b08ba847516dcbdba1c8994a0961c78784cacd.tar.gz
egit-github-31b08ba847516dcbdba1c8994a0961c78784cacd.tar.xz
egit-github-31b08ba847516dcbdba1c8994a0961c78784cacd.zip
Remove unthrown exception from CommitTest#readLine signature
Change-Id: Ic0ce7d0bf1a715294d0422d0bc83053799f1fe01 Signed-off-by: Matthias Sohn <matthias.sohn@sap.com>
Diffstat (limited to 'org.eclipse.egit.github.core.tests/src/org/eclipse')
-rw-r--r--org.eclipse.egit.github.core.tests/src/org/eclipse/egit/github/core/tests/live/CommitTest.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/org.eclipse.egit.github.core.tests/src/org/eclipse/egit/github/core/tests/live/CommitTest.java b/org.eclipse.egit.github.core.tests/src/org/eclipse/egit/github/core/tests/live/CommitTest.java
index 75194e88..e6ec5c94 100644
--- a/org.eclipse.egit.github.core.tests/src/org/eclipse/egit/github/core/tests/live/CommitTest.java
+++ b/org.eclipse.egit.github.core.tests/src/org/eclipse/egit/github/core/tests/live/CommitTest.java
@@ -172,7 +172,7 @@ public class CommitTest extends LiveTest {
assertTrue("response is a patch", fourthLine.contains("[PATCH "));
}
- private String readLine(InputStream inStream, int i) throws IOException {
+ private String readLine(InputStream inStream, int i) {
try (final Scanner sc = new Scanner(inStream)) {
sc.useDelimiter("\\n");
for (; i > 0; i--) {

Back to the top