From 940fc6143ae975b2ea0e611121bab63e0df58948 Mon Sep 17 00:00:00 2001 From: Duarte Meneses Date: Mon, 8 Feb 2016 11:28:38 +0100 Subject: Improve quality --- .../org/sonar/server/notification/DefaultNotificationManager.java | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) (limited to 'server') diff --git a/server/sonar-server/src/main/java/org/sonar/server/notification/DefaultNotificationManager.java b/server/sonar-server/src/main/java/org/sonar/server/notification/DefaultNotificationManager.java index 07c72e8b883..bceb9aa8c4a 100644 --- a/server/sonar-server/src/main/java/org/sonar/server/notification/DefaultNotificationManager.java +++ b/server/sonar-server/src/main/java/org/sonar/server/notification/DefaultNotificationManager.java @@ -111,10 +111,7 @@ public class DefaultNotificationManager implements NotificationManager { alreadyLoggedDeserializationIssue = true; } return null; - } catch (IOException e) { - throw new SonarException(UNABLE_TO_READ_NOTIFICATION, e); - - } catch (ClassNotFoundException e) { + } catch (IOException | ClassNotFoundException e) { throw new SonarException(UNABLE_TO_READ_NOTIFICATION, e); } } -- cgit v1.2.3