You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@isis.apache.org by ah...@apache.org on 2018/10/15 20:58:22 UTC
[isis] branch v2 updated: ISIS-2006: fixes java-doc
This is an automated email from the ASF dual-hosted git repository.
ahuber pushed a commit to branch v2
in repository https://gitbox.apache.org/repos/asf/isis.git
The following commit(s) were added to refs/heads/v2 by this push:
new 53ddb25 ISIS-2006: fixes java-doc
53ddb25 is described below
commit 53ddb25e5d2351ea09dbf69db4f936e8aaa7ef54
Author: Andi Huber <ah...@apache.org>
AuthorDate: Mon Oct 15 22:58:16 2018 +0200
ISIS-2006: fixes java-doc
Task-Url: https://issues.apache.org/jira/browse/ISIS-2006
---
.../src/main/java/org/apache/isis/applib/client/RestfulClient.java | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/core/applib/src/main/java/org/apache/isis/applib/client/RestfulClient.java b/core/applib/src/main/java/org/apache/isis/applib/client/RestfulClient.java
index a96cbae..e155711 100644
--- a/core/applib/src/main/java/org/apache/isis/applib/client/RestfulClient.java
+++ b/core/applib/src/main/java/org/apache/isis/applib/client/RestfulClient.java
@@ -80,12 +80,12 @@ Entity<String> args = client.arguments()
.addActionParameter("id", "12345")
.build();
-Response response = request
+Future<Response> asyncResponse = request
.async()
.post(args);
CompletableFuture<ResponseDigest<MyObject>> digestFuture =
- client.digest(response, MyObject.class);
+ client.digest(asyncResponse, MyObject.class);
ResponseDigest<MyObject> digest = digestFuture.get(); // blocking