Uploaded image for project: 'Commons CLI'
  1. Commons CLI
  2. CLI-41

HelpFormatter shouldn't throw IOException

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 2.0
    • CLI-2.x, Help formatter
    • None
    • 38611

    Description

      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.

      Attachments

        Activity

          People

            Unassigned Unassigned
            sjr James Ring
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: