diff options
Diffstat (limited to 'plugins/org.eclipse.osee.ats.impl/src/org/eclipse/osee/ats/impl/internal/notify/SendNotificationEvents.java')
-rw-r--r-- | plugins/org.eclipse.osee.ats.impl/src/org/eclipse/osee/ats/impl/internal/notify/SendNotificationEvents.java | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/org.eclipse.osee.ats.impl/src/org/eclipse/osee/ats/impl/internal/notify/SendNotificationEvents.java b/plugins/org.eclipse.osee.ats.impl/src/org/eclipse/osee/ats/impl/internal/notify/SendNotificationEvents.java index e122fcb6ca4..598d7aa7941 100644 --- a/plugins/org.eclipse.osee.ats.impl/src/org/eclipse/osee/ats/impl/internal/notify/SendNotificationEvents.java +++ b/plugins/org.eclipse.osee.ats.impl/src/org/eclipse/osee/ats/impl/internal/notify/SendNotificationEvents.java @@ -60,7 +60,7 @@ public class SendNotificationEvents { public Result run() { try { - Set<IAtsUser> uniqueUusers = new HashSet<IAtsUser>(); + Set<IAtsUser> uniqueUusers = new HashSet<>(); for (AtsNotificationEvent notificationEvent : notificationEvents) { uniqueUusers.addAll(AtsUsersUtility.getUsers(notificationEvent.getUserIds(), userService)); } @@ -70,7 +70,7 @@ public class SendNotificationEvents { testingUserEmail); } for (IAtsUser user : AtsUsersUtility.getValidEmailUsers(uniqueUusers)) { - List<AtsNotificationEvent> notifyEvents = new ArrayList<AtsNotificationEvent>(); + List<AtsNotificationEvent> notifyEvents = new ArrayList<>(); for (AtsNotificationEvent notificationEvent : notificationEvents) { if (isTesting() || AtsUsersUtility.getUsers(notificationEvent.getUserIds(), userService).contains(user)) { notifyEvents.add(notificationEvent); |