You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@commons.apache.org by "Niall Pemberton (JIRA)" <ji...@apache.org> on 2010/02/08 18:10:28 UTC

[jira] Commented: (LANG-542) Move StringBuffer APIs to Appendable

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

Niall Pemberton commented on LANG-542:
--------------------------------------

I guess that Appendable throws IOException because from JDK 1.5 Writer implements the new Appendable interface. With this in mind I think it would be a mistake to hide the IOException - better IMO to re-throw a RuntimeException with the IOException as the cause.

> Move StringBuffer APIs to Appendable
> ------------------------------------
>
>                 Key: LANG-542
>                 URL: https://issues.apache.org/jira/browse/LANG-542
>             Project: Commons Lang
>          Issue Type: Task
>          Components: General
>            Reporter: Henri Yandell
>             Fix For: 3.1
>
>
> A few parts of the API accept StringBuffer. These should, unless blocked by the JDK API, be switched to Appendable.

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