Skip to content

Commit

Permalink
Collapse exception blocks. No logical change
Browse files Browse the repository at this point in the history
  • Loading branch information
shs96c committed Aug 30, 2017
1 parent c74e42e commit abb0585
Showing 1 changed file with 1 addition and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -188,11 +188,7 @@ private org.apache.http.HttpResponse followRedirects(
get.setHeader("Accept", "application/json; charset=utf-8");
org.apache.http.HttpResponse newResponse = client.execute(targetHost, get, context);
return followRedirects(client, context, newResponse, redirectCount + 1);
} catch (URISyntaxException e) {
throw new WebDriverException(e);
} catch (ClientProtocolException e) {
throw new WebDriverException(e);
} catch (IOException e) {
} catch (URISyntaxException | IOException e) {
throw new WebDriverException(e);
}
}
Expand Down

0 comments on commit abb0585

Please sign in to comment.