Skip to content
This repository has been archived by the owner on Sep 26, 2019. It is now read-only.

Commit

Permalink
Replaced Void datatype with void. (#1530)
Browse files Browse the repository at this point in the history
  • Loading branch information
mark-terry authored Jun 6, 2019
1 parent 75e8c28 commit 3fc30fb
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -162,7 +162,7 @@ public void sendMessage(final Long subscriptionId, final JsonRpcResult msg) {
.ifPresent(connectionId -> vertx.eventBus().send(connectionId, Json.encode(response)));
}

public <T> Void notifySubscribersOnWorkerThread(
public <T> void notifySubscribersOnWorkerThread(
final SubscriptionType subscriptionType,
final Class<T> clazz,
final Consumer<List<T>> runnable) {
Expand All @@ -177,6 +177,5 @@ public <T> Void notifySubscribersOnWorkerThread(
LOG.error("Failed to notify subscribers.", result.cause());
}
});
return null;
}
}

0 comments on commit 3fc30fb

Please sign in to comment.