You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hive.apache.org by "Sergio Peña (JIRA)" <ji...@apache.org> on 2015/06/01 17:55:19 UTC

[jira] [Updated] (HIVE-10748) Replace StringBuffer with StringBuilder where possible

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

Sergio Peña updated HIVE-10748:
-------------------------------
    Attachment: HIVE-10748.1.patch

> 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, 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)