You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@kylin.apache.org by "Ted Yu (JIRA)" <ji...@apache.org> on 2018/09/23 18:00:00 UTC
[jira] [Created] (KYLIN-3582) String comparison should not use ==
in RecordEvent
Ted Yu created KYLIN-3582:
-----------------------------
Summary: String comparison should not use == in RecordEvent
Key: KYLIN-3582
URL: https://issues.apache.org/jira/browse/KYLIN-3582
Project: Kylin
Issue Type: Bug
Reporter: Ted Yu
Here is related code:
{code}
for (RecordReserveKeyEnum reserveKey : RecordReserveKeyEnum.values()) {
if (reserveKey.reserveKey == key) {
{code}
equals() should be used to compare Strings.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)