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

Julien Nioche commented on NUTCH-1079:
--------------------------------------

this is not going to make much of a difference anyway if we still use the 
String + String concatenation within the appends e.g.

{code}
     buffer.append("CrawlDatum: " + crawlDatum+"\n" );
{code}

Any chance you could replace those with appends instead?

> StringBuffer converted to StringBuilder
> ---------------------------------------
>
>                 Key: NUTCH-1079
>                 URL: https://issues.apache.org/jira/browse/NUTCH-1079
>             Project: Nutch
>          Issue Type: Bug
>          Components: fetcher, indexer
>    Affects Versions: 1.3
>            Reporter: Kay Kay
>            Assignee: Markus Jelsma
>             Fix For: 1.4
>
>         Attachments: NUTCH-1079.patch, NUTCH-rel_14-1079.patch
>
>
> All across the codebase, it contains StringBuffer, when thread-safety is 
> probably not intended. 
> This patch replaces StringBuffer to StringBuilder, as applicable. 

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to