Return-Path: X-Original-To: apmail-hive-issues-archive@minotaur.apache.org Delivered-To: apmail-hive-issues-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 87EC718CE6 for ; Mon, 1 Jun 2015 03:50:17 +0000 (UTC) Received: (qmail 80830 invoked by uid 500); 1 Jun 2015 03:50:17 -0000 Delivered-To: apmail-hive-issues-archive@hive.apache.org Received: (qmail 80805 invoked by uid 500); 1 Jun 2015 03:50:17 -0000 Mailing-List: contact issues-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 issues@hive.apache.org Received: (qmail 80795 invoked by uid 99); 1 Jun 2015 03:50:17 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 01 Jun 2015 03:50:17 +0000 Date: Mon, 1 Jun 2015 03:50:17 +0000 (UTC) From: "Ashutosh Chauhan (JIRA)" To: issues@hive.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (HIVE-10748) Replace StringBuffer with StringBuilder where possible MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/HIVE-10748?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14566917#comment-14566917 ] Ashutosh Chauhan commented on HIVE-10748: ----------------------------------------- +1 > Replace StringBuffer with StringBuilder where possible > ------------------------------------------------------ > > Key: HIVE-10748 > URL: https://issues.apache.org/jira/browse/HIVE-10748 > Project: Hive > Issue Type: Improvement > Reporter: Alexander Pivovarov > Assignee: Alexander Pivovarov > Priority: Minor > Attachments: HIVE-10748.1.patch > > > I found 40 places in Hive where "new StringBuffer(" is used. > "Where possible, it is recommended that StringBuilder be used in preference to StringBuffer as it will be faster under most implementations" > https://docs.oracle.com/javase/7/docs/api/java/lang/StringBuilder.html -- This message was sent by Atlassian JIRA (v6.3.4#6332)