cbeust / jcommander

Command line parsing framework for Java
Apache License 2.0
1.94k stars 332 forks source link

refactored classes parameterized and parameterDescription for removing the smells and to remove conplex methods #554

Closed Navaneethnanda closed 1 year ago

Navaneethnanda commented 1 year ago

method parseArg in parameterized class is so complex and needs to be split further for maintainability and code readability. method parseArg is split into checkFields, checkMethods, addToResult, parseArg in the same class.

method addValue in parameterDescription class has a very complex conditional splitting it further would help in improving the code readability.

I really look forward to contributing more to the repository in terms of code refactoring and in making code more readable but I am not sure if the maintainers are entertaining these kind of contributions. Through this PR please let me know if i can contribute to the repository with this kind of work i will be more than happy to contribute.