Skip to content

Commit

Permalink
remove unnecessary catch
Browse files Browse the repository at this point in the history
  • Loading branch information
Robothy committed Jan 12, 2024
1 parent d07f913 commit c46ade4
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions local-s3-rest/src/main/java/com/robothy/s3/rest/LocalS3.java
Original file line number Diff line number Diff line change
Expand Up @@ -153,11 +153,7 @@ private void shutdownEventExecutorsGroupIfNeeded(EventExecutorGroup... eventExec
for (EventExecutorGroup eventExecutors : eventExecutorsList) {
if (!eventExecutors.isShuttingDown() && !eventExecutors.isShutdown()) {
shutdownPerformed = true;
try {
eventExecutors.shutdownGracefully();
} catch (Exception e) {
throw new RuntimeException(e);
}
eventExecutors.shutdownGracefully();
}
}

Expand Down

0 comments on commit c46ade4

Please sign in to comment.