mirror of
https://github.com/spring-projects/spring-framework
synced 2026-06-08 17:33:33 +00:00
Polish: combine catches block with same body
This commit is contained in:
committed by
Juergen Hoeller
parent
f835f7b500
commit
7bce04c06c
+1
-4
@@ -365,10 +365,7 @@ public class MBeanClientInterceptor
|
||||
try {
|
||||
return doInvoke(invocation);
|
||||
}
|
||||
catch (MBeanConnectFailureException ex) {
|
||||
return handleConnectFailure(invocation, ex);
|
||||
}
|
||||
catch (IOException ex) {
|
||||
catch (MBeanConnectFailureException | IOException ex) {
|
||||
return handleConnectFailure(invocation, ex);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user