[ 
https://issues.apache.org/jira/browse/KYLIN-3582?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16626613#comment-16626613
 ] 

ASF subversion and git services commented on KYLIN-3582:
--------------------------------------------------------

Commit d8c2a282930adb0d93e827ed014fbe7ceda69c09 in kylin's branch 
refs/heads/master from hit-lacus
[ https://gitbox.apache.org/repos/asf?p=kylin.git;h=d8c2a28 ]

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
>            Priority: Minor
>
> 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)

Reply via email to