commons-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Henri Yandell (JIRA)" <j...@apache.org>
Subject [jira] Commented: (LANG-541) Replace StringBuffer with StringBuilder
Date Tue, 20 Oct 2009 05:36:59 GMT

    [ https://issues.apache.org/jira/browse/LANG-541?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12767698#action_12767698
] 

Henri Yandell commented on LANG-541:
------------------------------------

svn ci -m "Switched StringBuffer to StringBuilder whenever a local usage (and not subsequently
used in an API) as per LANG-541"
Sending        src/java/org/apache/commons/lang/CharRange.java
Sending        src/java/org/apache/commons/lang/CharSetUtils.java
Sending        src/java/org/apache/commons/lang/ClassUtils.java
Sending        src/java/org/apache/commons/lang/StringUtils.java
Sending        src/java/org/apache/commons/lang/WordUtils.java
Sending        src/java/org/apache/commons/lang/exception/DefaultExceptionContext.java
Sending        src/java/org/apache/commons/lang/math/DoubleRange.java
Sending        src/java/org/apache/commons/lang/math/FloatRange.java
Sending        src/java/org/apache/commons/lang/math/Fraction.java
Sending        src/java/org/apache/commons/lang/math/IntRange.java
Sending        src/java/org/apache/commons/lang/math/LongRange.java
Sending        src/java/org/apache/commons/lang/math/NumberRange.java
Sending        src/java/org/apache/commons/lang/math/Range.java
Transmitting file data .............
Committed revision 826958.

> Replace StringBuffer with StringBuilder
> ---------------------------------------
>
>                 Key: LANG-541
>                 URL: https://issues.apache.org/jira/browse/LANG-541
>             Project: Commons Lang
>          Issue Type: Task
>            Reporter: Henri Yandell
>             Fix For: 3.0
>
>
> As long as we don't need thread safety - so mostly for local usage within a method -
use a StringBuilder instead of a StringBuffer.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message