You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@nutch.apache.org by "Kay Kay (JIRA)" <ji...@apache.org> on 2011/08/11 11:38:27 UTC

[jira] [Commented] (NUTCH-1079) StringBuffer converted to StringBuilder

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

Kay Kay commented on NUTCH-1079:
--------------------------------

public API-s changed, but  ensuring backward compatibility still:

o.a.n.parse.tika.DOMContentUtils:
  public void getText(Appendable sb, Node node);
  public boolean getTitle(Appendable sb, Node node); 

o.a.n.parse.html.XMLCharacterRecognizer:

  public static boolean isWhiteSpace(CharSequence buf)




> 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
>             Fix For: 1.4
>
>         Attachments: NUTCH-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