hive-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Alan Gates (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (HIVE-17290) Should use equals() rather than == to compare strings
Date Sat, 12 Aug 2017 21:06:00 GMT

     [ https://issues.apache.org/jira/browse/HIVE-17290?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Alan Gates updated HIVE-17290:
------------------------------
       Resolution: Fixed
         Assignee: Oleg Danilov
    Fix Version/s: 3.0.0
           Status: Resolved  (was: Patch Available)

Patch committed.  Thanks Oleg.

> Should use equals() rather than == to compare strings
> -----------------------------------------------------
>
>                 Key: HIVE-17290
>                 URL: https://issues.apache.org/jira/browse/HIVE-17290
>             Project: Hive
>          Issue Type: Bug
>            Reporter: Oleg Danilov
>            Assignee: Oleg Danilov
>            Priority: Trivial
>             Fix For: 3.0.0
>
>         Attachments: HIVE-17290.patch
>
>
> There are number of places, where strings have been compared with == or !=. Seems like
it works now, thanks to string interning, but it would be better not to be relied upon.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Mime
View raw message