[ https://issues.apache.org/jira/browse/NUTCH-1079?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13085673#comment-13085673 ]
Markus Jelsma commented on NUTCH-1079: -------------------------------------- I don't think it's going to be significant too but it'll surely increase performance for textprofilesignature and in domcontentutils. Both do a lot of SB operations per document. AFAIK this patch already updates all API calls. Do you think there are a number of users that call one of these three API's in custom code? Also, the getText and getTitle methods are private in parse-tika where they're public in parse-html. What do you think? > 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