hive-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Alexander Pivovarov (JIRA)" <j...@apache.org>
Subject [jira] [Created] (HIVE-10748) Replace StringBuffer with StringBuilder where possible
Date Tue, 19 May 2015 06:43:00 GMT
Alexander Pivovarov created HIVE-10748:
------------------------------------------

             Summary: 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


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)

Mime
View raw message