Skip to content

Commit abb0585

Browse files
committed
Collapse exception blocks. No logical change
1 parent c74e42e commit abb0585

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed

java/client/src/org/openqa/selenium/remote/internal/ApacheHttpClient.java

+1-5
Original file line numberDiff line numberDiff line change
@@ -188,11 +188,7 @@ private org.apache.http.HttpResponse followRedirects(
188188
get.setHeader("Accept", "application/json; charset=utf-8");
189189
org.apache.http.HttpResponse newResponse = client.execute(targetHost, get, context);
190190
return followRedirects(client, context, newResponse, redirectCount + 1);
191-
} catch (URISyntaxException e) {
192-
throw new WebDriverException(e);
193-
} catch (ClientProtocolException e) {
194-
throw new WebDriverException(e);
195-
} catch (IOException e) {
191+
} catch (URISyntaxException | IOException e) {
196192
throw new WebDriverException(e);
197193
}
198194
}

0 commit comments

Comments
 (0)