You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@commons.apache.org by "Henri Yandell (JIRA)" <ji...@apache.org> on 2009/10/20 07:38:59 UTC
[jira] Created: (LANG-542) Move StringBuffer APIs to Appendable
Move StringBuffer APIs to Appendable
------------------------------------
Key: LANG-542
URL: https://issues.apache.org/jira/browse/LANG-542
Project: Commons Lang
Issue Type: Task
Reporter: Henri Yandell
Fix For: 3.0
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.
[jira] Commented: (LANG-542) Move StringBuffer APIs to Appendable
Posted by "Niall Pemberton (JIRA)" <ji...@apache.org>.
[ 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.
[jira] Commented: (LANG-542) Move StringBuffer APIs to Appendable
Posted by "Henri Yandell (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/LANG-542?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12767707#action_12767707 ]
Henri Yandell commented on LANG-542:
------------------------------------
svn ci -m "Moved identityToString(StringBuffer, Object) to identityToString(Appendable, Object) per LANG-542"
Sending src/java/org/apache/commons/lang/ObjectUtils.java
Transmitting file data .
Committed revision 826960.
> Move StringBuffer APIs to Appendable
> ------------------------------------
>
> Key: LANG-542
> URL: https://issues.apache.org/jira/browse/LANG-542
> Project: Commons Lang
> Issue Type: Task
> Reporter: Henri Yandell
> Fix For: 3.0
>
>
> 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.
[jira] Commented: (LANG-542) Move StringBuffer APIs to Appendable
Posted by "Henri Yandell (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/LANG-542?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12767702#action_12767702 ]
Henri Yandell commented on LANG-542:
------------------------------------
How very lame - Appendable throws IOException.
> Move StringBuffer APIs to Appendable
> ------------------------------------
>
> Key: LANG-542
> URL: https://issues.apache.org/jira/browse/LANG-542
> Project: Commons Lang
> Issue Type: Task
> Reporter: Henri Yandell
> Fix For: 3.0
>
>
> 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.
[jira] Commented: (LANG-542) Move StringBuffer APIs to Appendable
Posted by "Henri Yandell (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/LANG-542?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12796118#action_12796118 ]
Henri Yandell commented on LANG-542:
------------------------------------
Possibly we could have an AppendableUtils or StringUtils overload for Appendable options that the String option would sit on top of (and hide the IOException).
> 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.0
>
>
> 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.
[jira] Updated: (LANG-542) Move StringBuffer APIs to Appendable
Posted by "Henri Yandell (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/LANG-542?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Henri Yandell updated LANG-542:
-------------------------------
Fix Version/s: (was: 3.0)
3.1
Moving to 3.1 as it no longer would require an API change.
> 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.
[jira] Commented: (LANG-542) Move StringBuffer APIs to Appendable
Posted by "Henri Yandell (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/LANG-542?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12769751#action_12769751 ]
Henri Yandell commented on LANG-542:
------------------------------------
svn ci -m "Rolling back 826960 - IOException would need to be added to the API"
Sending src/java/org/apache/commons/lang/ObjectUtils.java
Transmitting file data .
Committed revision 829487.
> Move StringBuffer APIs to Appendable
> ------------------------------------
>
> Key: LANG-542
> URL: https://issues.apache.org/jira/browse/LANG-542
> Project: Commons Lang
> Issue Type: Task
> Reporter: Henri Yandell
> Fix For: 3.0
>
>
> 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.