* @param notification
* the notification to publish.
* @return A listenable future which will report completion when the service has finished
- * propagating the notification to its immediate registrants, or {@value #REJECTED} if resource
+ * propagating the notification to its immediate registrants, or {@link #REJECTED} if resource
* constraints prevent
* @throws NullPointerException if the notification is null
*/
- ListenableFuture<? extends Object> offerNotification(Notification notification);
+ ListenableFuture<?> offerNotification(Notification notification);
/**
* Publishes a notification to subscribed listeners. This initiates
* @param unit a TimeUnit determining how to interpret the
* timeout parameter
* @return A listenable future which will report completion when the service has finished
- * propagating the notification to its immediate registrants, or {@value #REJECTED} if resource
+ * propagating the notification to its immediate registrants, or {@link #REJECTED} if resource
* constraints prevent
* @throws InterruptedException if interrupted while waiting
* @throws NullPointerException if the notification or unit is null
* @throws IllegalArgumentException if timeout is negative.
*/
- ListenableFuture<? extends Object> offerNotification(Notification notification, int timeout, TimeUnit unit)
+ ListenableFuture<?> offerNotification(Notification notification, int timeout, TimeUnit unit)
throws InterruptedException;
}