[jira] [Created] (FLINK-11699) Should use `String.equals()` instead of `==` for String compares in AbstractDispatcherResourceManagerComponentFactory.getHostname()

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

[jira] [Created] (FLINK-11699) Should use `String.equals()` instead of `==` for String compares in AbstractDispatcherResourceManagerComponentFactory.getHostname()

Shang Yuanchun (Jira)
Benchao Li created FLINK-11699:
----------------------------------

             Summary: Should use `String.equals()` instead of `==` for String compares in AbstractDispatcherResourceManagerComponentFactory.getHostname()
                 Key: FLINK-11699
                 URL: https://issues.apache.org/jira/browse/FLINK-11699
             Project: Flink
          Issue Type: Bug
          Components: JobManager
    Affects Versions: 1.7.2
            Reporter: Benchao Li
            Assignee: Benchao Li


In `AbstractDispatcherResourceManagerComponentFactory.getHostname()`, the compare between `rpcServiceAddress` and `""` should use `String.equals` instead of `==`.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)