[hotfix] Fix wrong Javadoc in RestServerEndpoint

getRestAddress() returns a String instead of a CompletableFuture


Project: http://git-wip-us.apache.org/repos/asf/flink/repo
Commit: http://git-wip-us.apache.org/repos/asf/flink/commit/1ffd77a2
Tree: http://git-wip-us.apache.org/repos/asf/flink/tree/1ffd77a2
Diff: http://git-wip-us.apache.org/repos/asf/flink/diff/1ffd77a2

Branch: refs/heads/master
Commit: 1ffd77a27a4b7e2e1a1a599100c21742eb9a3d00
Parents: c5abf56
Author: gyao <[email protected]>
Authored: Mon Jan 15 13:55:52 2018 +0100
Committer: Till Rohrmann <[email protected]>
Committed: Fri Jan 26 13:50:23 2018 +0100

----------------------------------------------------------------------
 .../java/org/apache/flink/runtime/rest/RestServerEndpoint.java   | 4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/flink/blob/1ffd77a2/flink-runtime/src/main/java/org/apache/flink/runtime/rest/RestServerEndpoint.java
----------------------------------------------------------------------
diff --git 
a/flink-runtime/src/main/java/org/apache/flink/runtime/rest/RestServerEndpoint.java
 
b/flink-runtime/src/main/java/org/apache/flink/runtime/rest/RestServerEndpoint.java
index 19f6123..a5a7473 100644
--- 
a/flink-runtime/src/main/java/org/apache/flink/runtime/rest/RestServerEndpoint.java
+++ 
b/flink-runtime/src/main/java/org/apache/flink/runtime/rest/RestServerEndpoint.java
@@ -207,9 +207,7 @@ public abstract class RestServerEndpoint {
        }
 
        /**
-        * Returns the address of the REST server endpoint. Since the address 
is only known
-        * after the endpoint is started, it is returned as a future which is 
completed
-        * with the REST address at start up.
+        * Returns the address of the REST server endpoint.
         *
         * @return REST address of this endpoint
         */

Reply via email to