[
https://issues.apache.org/jira/browse/KYLIN-3582?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16668291#comment-16668291
]
ASF subversion and git services commented on KYLIN-3582:
--------------------------------------------------------
Commit cf6d58b0d518deda28c3a9c3992106313c10acae in kylin's branch
refs/heads/2.5.x from hit-lacus
[ https://gitbox.apache.org/repos/asf?p=kylin.git;h=cf6d58b ]
KYLIN-3582 String compare should use equals method
> 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
> Assignee: XiaoXiang Yu
> Priority: Minor
> Fix For: v2.4.2, v2.5.1
>
>
> 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)