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

Adjust access-modifier of checkRequiredOptions() to protected

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 1.4
    • Fix Version/s: 1.5
    • Component/s: CLI-1.x
    • Labels:
      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

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

                Dates

                • Created:
                  Updated:
                  Resolved: