Github user StephanEwen commented on a diff in the pull request:
    --- Diff: flink-core/src/main/java/org/apache/flink/util/ ---
    @@ -309,6 +313,19 @@ public static ServerSocket 
createSocketFromPorts(Iterator<Integer> portsIterator
                return null;
    +   /**
    +    * Returns the wildcard address to listen on all interfaces.
    +    * @return Either or :: depending on the IP setup.
    +    */
    +   public static String getWildcardIPAddress() {
    --- End diff --
    You could move that code into a static initializer. That way you don't need 
to lock and check if it was set before.

If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at or file a JIRA ticket
with INFRA.

Reply via email to