Description
CommandLine.handleDeprecated() is not called if the option key is not a string.
For example getOptionValue() has both String and Option parameter types.
- getOptionValue(String) calls handleDeprecated()
- getOptionValue(Option) does not call handleDeprecated().
In most cases the String parameter resolves the Option and calls the Option parameter method of the same name.
The fix is to move the handleDeprecated() into the Option processing path.
Attachments
Issue Links
- links to