Claudenw opened a new pull request, #216:
URL: https://github.com/apache/commons-cli/pull/216

   Similar to #215 but without using BeanUtils.
   
   Implementation introduces Converter and Verifier interfaces.
   
   Converter does as it says and converts from Str to object.
   Verifier verifies that string values are proper before doing the conversion. 
 Checks are made when the string is added to the values in the Option object.
   
   TypeHandler is reworked to use and manage the mapping of the Converter and 
Verifier instances to Classes.
   Methods are provided to register Converter and Verifier for a class.
   
   Tests added for Converters and Verifiers as well as TypeHandler changes.
   
   Changes to earlier tests:
   
   There was a TypeHandler test that expected the value "3,5" to throw and 
exception when it was retrieved, that now throws an exception when the value is 
initially added to the Option during command line parsing.  Test has been 
updated to account for this.
   
   Some javadocs need to be completed.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscr...@commons.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to