diff options
author | David Gageot <david@gageot.net> | 2012-07-16 15:54:03 +0200 |
---|---|---|
committer | David Gageot <david@gageot.net> | 2012-07-16 15:54:03 +0200 |
commit | f7a07488077b01dfb9abbd3dd5161f2433bb43a0 (patch) | |
tree | b67865d21e366385748e9bfed24e9f5d7aaf6fb1 /sonar-server | |
parent | 592cb1f45be74a17310ab7bb623c3e0e54dbea9f (diff) | |
download | sonarqube-f7a07488077b01dfb9abbd3dd5161f2433bb43a0.tar.gz sonarqube-f7a07488077b01dfb9abbd3dd5161f2433bb43a0.zip |
Fix violation
Diffstat (limited to 'sonar-server')
-rw-r--r-- | sonar-server/src/main/java/org/sonar/server/notifications/NotificationService.java | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/sonar-server/src/main/java/org/sonar/server/notifications/NotificationService.java b/sonar-server/src/main/java/org/sonar/server/notifications/NotificationService.java index 1a449271566..96dfa809ccc 100644 --- a/sonar-server/src/main/java/org/sonar/server/notifications/NotificationService.java +++ b/sonar-server/src/main/java/org/sonar/server/notifications/NotificationService.java @@ -145,6 +145,10 @@ public class NotificationService implements ServerComponent { } } } + dispatch(notification, recipients); + } + + private void dispatch(Notification notification, SetMultimap<String, NotificationChannel> recipients) { for (Map.Entry<String, Collection<NotificationChannel>> entry : recipients.asMap().entrySet()) { String username = entry.getKey(); Collection<NotificationChannel> userChannels = entry.getValue(); |