Minor cleanup
This commit is contained in:
parent
d8883950ba
commit
71f766faa8
1 changed files with 1 additions and 1 deletions
|
|
@ -306,7 +306,7 @@ class RemoteClientHandler(val name: String,
|
|||
if (result.isInstanceOf[RemoteReply]) {
|
||||
val reply = result.asInstanceOf[RemoteReply]
|
||||
log.debug("Remote client received RemoteReply[\n%s]", reply.toString)
|
||||
val future : CompletableFuture[Any] = futures.get(reply.getId).asInstanceOf[CompletableFuture[Any]]
|
||||
val future = futures.get(reply.getId).asInstanceOf[CompletableFuture[Any]]
|
||||
if (reply.getIsSuccessful) {
|
||||
val message = RemoteProtocolBuilder.getMessage(reply)
|
||||
future.completeWithResult(message)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue