aboutsummaryrefslogtreecommitdiffstats
path: root/server
diff options
context:
space:
mode:
authorDuarte Meneses <duarte.meneses@sonarsource.com>2016-02-08 11:28:38 +0100
committerDuarte Meneses <duarte.meneses@sonarsource.com>2016-02-08 11:28:38 +0100
commit940fc6143ae975b2ea0e611121bab63e0df58948 (patch)
tree731f1761fe070369a77fc6fc6b3407c3a19181ed /server
parentf73dbafaa20c7e4d14d6b4ac8aa72f01ed07e25b (diff)
downloadsonarqube-940fc6143ae975b2ea0e611121bab63e0df58948.tar.gz
sonarqube-940fc6143ae975b2ea0e611121bab63e0df58948.zip
Improve quality
Diffstat (limited to 'server')
-rw-r--r--server/sonar-server/src/main/java/org/sonar/server/notification/DefaultNotificationManager.java5
1 files changed, 1 insertions, 4 deletions
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);
}
}