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

ASF GitHub Bot commented on LANG-779:
-------------------------------------

Github user coveralls commented on the pull request:

    https://github.com/apache/commons-lang/pull/90#issuecomment-104904506
  
    
    [![Coverage 
Status](https://coveralls.io/builds/2634896/badge)](https://coveralls.io/builds/2634896)
    
    Coverage decreased (-0.01%) to 93.26% when pulling 
**8a6b5a6023aed533afef1d2f61c63feac4f9b46e on dstewart:LANG-779** into 
**0343b4fda87161265acf30d5ee61e525e751358d on apache:master**.



> Provide a StrBuilder-based or StringBuilder-based ToStringBuilder
> -----------------------------------------------------------------
>
>                 Key: LANG-779
>                 URL: https://issues.apache.org/jira/browse/LANG-779
>             Project: Commons Lang
>          Issue Type: Improvement
>          Components: lang.builder.*
>    Affects Versions: 3.1
>            Reporter: Simon Dierl
>            Priority: Minor
>             Fix For: Patch Needed
>
>
> At the moment, ToStringBuilder internally uses a StringBuffer to create the 
> output String. StringBuffer, as opposed to StringBuilder and StrBuilder, is 
> synchronized. Since ToStringBuilder will almost never leave the 
> toString()-method, the synchronization only adds overhead.
> Since the ToStringBuilder API never suggests that ToStringBuilder is 
> thread-safe, either the current implementation could be changed to use 
> Str[ing]Builder or an alternative implementation could be provided.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to