Return-Path: X-Original-To: apmail-hive-dev-archive@www.apache.org Delivered-To: apmail-hive-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 398FD11646 for ; Sat, 30 Aug 2014 01:25:54 +0000 (UTC) Received: (qmail 20661 invoked by uid 500); 30 Aug 2014 01:25:53 -0000 Delivered-To: apmail-hive-dev-archive@hive.apache.org Received: (qmail 20588 invoked by uid 500); 30 Aug 2014 01:25:53 -0000 Mailing-List: contact dev-help@hive.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@hive.apache.org Delivered-To: mailing list dev@hive.apache.org Received: (qmail 20556 invoked by uid 500); 30 Aug 2014 01:25:53 -0000 Delivered-To: apmail-hadoop-hive-dev@hadoop.apache.org Received: (qmail 20551 invoked by uid 99); 30 Aug 2014 01:25:53 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 30 Aug 2014 01:25:53 +0000 Date: Sat, 30 Aug 2014 01:25:53 +0000 (UTC) From: "Lars Francke (JIRA)" To: hive-dev@hadoop.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Created] (HIVE-7921) Fix confusing dead assignment in return statement (JavaHiveVarcharObjectInspector) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 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)