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

Adjust access-modifier of checkRequiredOptions() to protected

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 1.4
    • 1.5.0
    • CLI-1.x
    • None

    Description

      ... for parity with GnuParser, PosixParser and Parser impls to allow sub-class a bit more control.

      I have a use-case in which needs to defer the required-options check, which is doable with GnuParser and PosixParser, but the new DefaultParser doesn't allow this due to a private access-modifier on checkRequiredOptions().

      https://github.com/apache/commons-cli/pull/11

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              jdillon Jason Dillon
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: