Merge pull request #14213 from dreis2211:collapse-identical-catch-blocks

* pr/14213:
  Collapse identical catch blocks
This commit is contained in:
Stephane Nicoll 2018-08-27 18:20:29 +02:00
commit 352a6671e8

View File

@ -84,10 +84,7 @@ class SslBuilderCustomizer implements UndertowBuilderCustomizer {
Sequence.of(this.ssl.getCiphers()));
}
}
catch (NoSuchAlgorithmException ex) {
throw new IllegalStateException(ex);
}
catch (KeyManagementException ex) {
catch (NoSuchAlgorithmException | KeyManagementException ex) {
throw new IllegalStateException(ex);
}
}