You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@commons.apache.org by "Emmanuel Bourg (JIRA)" <ji...@apache.org> on 2010/06/15 16:59:27 UTC

[jira] Updated: (CLI-41) HelpFormatter shouldn't throw IOException

     [ https://issues.apache.org/jira/browse/CLI-41?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Emmanuel Bourg updated CLI-41:
------------------------------

    Component/s: CLI-2.x

> HelpFormatter shouldn't throw IOException
> -----------------------------------------
>
>                 Key: CLI-41
>                 URL: https://issues.apache.org/jira/browse/CLI-41
>             Project: Commons CLI
>          Issue Type: Bug
>          Components: CLI-2.x, Help formatter
>            Reporter: James Ring
>             Fix For: 2.0
>
>         Attachments: fix-setPrintWriter-parameter-type.patch, fix-setPrintWriter-parameter-type.patch
>
>
> Hi there,
> Attached is a patch which implements the changes discussed on commons-dev:
> http://tinyurl.com/85334 (link to the archives)
> Essentially, HelpFormatter need not throw IOExceptions due to its use of
> PrintWriter. It also updates regression tests so that they don't fail to test
> the protected pad() method (which now accepts a PrintWriter rather than a Writer).
> Thank you.

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