Skip to content

Commit

Permalink
Align to interface tweak.
Browse files Browse the repository at this point in the history
  • Loading branch information
dario-weswit committed Jun 6, 2023
1 parent c69b270 commit 0b22d92
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,6 @@
import java.io.File;
import java.util.Map;
import java.util.concurrent.CompletableFuture;
import java.util.concurrent.CompletionStage;
import java.util.concurrent.ConcurrentHashMap;

import org.apache.logging.log4j.LogManager;
Expand Down Expand Up @@ -96,7 +95,7 @@ public void init(Map params, File configDir) throws MetadataProviderException {
* Triggered by a client "sendMessage" call.
* The message encodes a chat message from the client.
*/
public CompletionStage<String> notifyUserMessage(String user, String session, String message)
public CompletableFuture<String> notifyUserMessage(String user, String session, String message)
throws NotificationException, CreditsException {

// we won't introduce blocking operations, hence we can proceed inline
Expand Down

0 comments on commit 0b22d92

Please sign in to comment.