hive-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Lars Francke (JIRA)" <j...@apache.org>
Subject [jira] [Created] (HIVE-7921) Fix confusing dead assignment in return statement (JavaHiveVarcharObjectInspector)
Date Sat, 30 Aug 2014 01:25:53 GMT
Lars Francke created HIVE-7921:
----------------------------------

             Summary: Fix confusing dead assignment in return statement (JavaHiveVarcharObjectInspector)
                 Key: HIVE-7921
                 URL: https://issues.apache.org/jira/browse/HIVE-7921
             Project: Hive
          Issue Type: Improvement
            Reporter: Lars Francke
            Assignee: Lars Francke
            Priority: Minor


There are multiple instances of something like this {{return o = new HiveVarchar(value, getMaxLength());}}
in this class. That's not only confusing but also useless as it doesn't do anything.

I've removed those assignments and cleaned up the class a bit.



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Mime
View raw message