You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flink.apache.org by "Till Rohrmann (JIRA)" <ji...@apache.org> on 2019/02/21 09:21:00 UTC
[jira] [Resolved] (FLINK-11699) Should use `String.equals()`
instead of `==` for String compares in
AbstractDispatcherResourceManagerComponentFactory.getHostname()
[ https://issues.apache.org/jira/browse/FLINK-11699?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Till Rohrmann resolved FLINK-11699.
-----------------------------------
Resolution: Fixed
Fix Version/s: 1.8.0
Fixed via 60f204bf67e348dacc79136e754f7b22e835737c
> 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
> Priority: Trivial
> Labels: pull-request-available
> Fix For: 1.8.0
>
> Time Spent: 10m
> Remaining Estimate: 0h
>
> 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)