Mechanical code cleanup (benchmark)
[controller.git] / benchmark / ntfbenchmark / src / main / java / ntfbenchmark / impl / NtfbenchNonblockingProducer.java
index f4db3693c4f8499263bf31e59eda26c49ddbfe0e..ce2adc968376b56a4c226c3459433991f2a91dc4 100644 (file)
@@ -29,10 +29,10 @@ public class NtfbenchNonblockingProducer extends AbstractNtfbenchProducer {
     public void run() {
         int ntfOk = 0;
         int ntfError = 0;
-        ListenableFuture<? extends Object> lastOkFuture = null;
+        ListenableFuture<?> lastOkFuture = null;
         for (int i = 0; i < this.iterations; i++) {
             try {
-                final ListenableFuture<? extends Object> result = this.publishService.offerNotification(this.ntf);
+                final ListenableFuture<?> result = this.publishService.offerNotification(this.ntf);
                 if (NotificationPublishService.REJECTED == result) {
                     ntfError++;
                 } else {