hive-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Oleg Danilov (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (HIVE-17290) Should use equals() rather than == to compare strings
Date Thu, 10 Aug 2017 13:05:00 GMT

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

Oleg Danilov updated HIVE-17290:
--------------------------------
    Status: Patch Available  (was: Open)

> 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
>            Priority: Trivial
>         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