commons-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Emmanuel Bourg (JIRA)" <j...@apache.org>
Subject [jira] Updated: (CLI-41) HelpFormatter shouldn't throw IOException
Date Tue, 15 Jun 2010 14:59:27 GMT

     [ 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.


Mime
View raw message