diff options
author | Martin Fietz <martin.fietz@gmail.com> | 2018-01-14 18:06:24 +0100 |
---|---|---|
committer | Martin Fietz <martin.fietz@gmail.com> | 2018-01-14 18:06:24 +0100 |
commit | b80d6a7914d82b1bd2525fa1d3d1178c0a5e3269 (patch) | |
tree | 4b0b5935d4b9a6fd5de565036ccff8979627aa65 /app/src/androidTest/java/de/test/antennapod/util | |
parent | a49048c7f6b46551b7a4e6c09d45a51510475a95 (diff) | |
download | AntennaPod-b80d6a7914d82b1bd2525fa1d3d1178c0a5e3269.zip |
Remove redundant throws clauses
Diffstat (limited to 'app/src/androidTest/java/de/test/antennapod/util')
-rw-r--r-- | app/src/androidTest/java/de/test/antennapod/util/service/download/NanoHTTPD.java | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/app/src/androidTest/java/de/test/antennapod/util/service/download/NanoHTTPD.java b/app/src/androidTest/java/de/test/antennapod/util/service/download/NanoHTTPD.java index e0694a0d9..2c56cbfee 100644 --- a/app/src/androidTest/java/de/test/antennapod/util/service/download/NanoHTTPD.java +++ b/app/src/androidTest/java/de/test/antennapod/util/service/download/NanoHTTPD.java @@ -442,9 +442,9 @@ public abstract class NanoHTTPD { * themselves up when no longer needed.</p> */ public interface TempFile { - OutputStream open() throws Exception; + OutputStream open(); - void delete() throws Exception; + void delete(); String getName(); } @@ -522,12 +522,12 @@ public abstract class NanoHTTPD { } @Override - public OutputStream open() throws Exception { + public OutputStream open() { return fstream; } @Override - public void delete() throws Exception { + public void delete() { safeClose(fstream); file.delete(); } |