Skip to content

Commit 70add06

Browse files
dreis2211snicoll
authored andcommitted
Collapse identical catch blocks
Closes gh-14213
1 parent af426e3 commit 70add06

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

spring-boot-project/spring-boot/src/main/java/org/springframework/boot/web/embedded/undertow/SslBuilderCustomizer.java

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -84,10 +84,7 @@ public void customize(Undertow.Builder builder) {
8484
Sequence.of(this.ssl.getCiphers()));
8585
}
8686
}
87-
catch (NoSuchAlgorithmException ex) {
88-
throw new IllegalStateException(ex);
89-
}
90-
catch (KeyManagementException ex) {
87+
catch (NoSuchAlgorithmException | KeyManagementException ex) {
9188
throw new IllegalStateException(ex);
9289
}
9390
}

0 commit comments

Comments
 (0)