Fixed sonar issues in o.o.y.util package.
[yangtools.git] / common / util / src / main / java / org / opendaylight / yangtools / util / concurrent / NotificationManager.java
index 41cc7dcc0edccbad853d8b66a8595de95d0e8b69..aee3c9967639bfff299acea8074a2d75c30a9fc6 100644 (file)
@@ -29,8 +29,7 @@ public interface NotificationManager<L, N> {
      * @param notification the notification to dispatch
      * @throws RejectedExecutionException if the notification can't be queued for dispatching
      */
-    void submitNotification( L listener, N notification )
-            throws RejectedExecutionException;
+    void submitNotification( L listener, N notification );
 
     /**
      * Submits notifications to be queued and dispatched to the given listener.
@@ -41,7 +40,6 @@ public interface NotificationManager<L, N> {
      * @param notifications the notifications to dispatch
      * @throws RejectedExecutionException if a notification can't be queued for dispatching
      */
-    void submitNotifications( L listener, Iterable<N> notifications )
-            throws RejectedExecutionException;
+    void submitNotifications( final L listener, Iterable<N> notifications);
 
 }
\ No newline at end of file