mirror of
https://github.com/cryptomator/cryptomator.git
synced 2026-05-17 10:11:27 +00:00
more specific throws statement
This commit is contained in:
@@ -31,7 +31,7 @@ public class UpdateCheckerTask extends Task<String> {
|
||||
}
|
||||
|
||||
@Override
|
||||
protected String call() throws Exception {
|
||||
protected String call() throws IOException, InterruptedException {
|
||||
HttpResponse<InputStream> response = httpClient.send(checkForUpdatesRequest, HttpResponse.BodyHandlers.ofInputStream());
|
||||
if (response.statusCode() == 200) {
|
||||
return processBody(response);
|
||||
|
||||
Reference in New Issue
Block a user