DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT <http://issues.apache.org/bugzilla/show_bug.cgi?id=27639>. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND INSERTED IN THE BUG DATABASE.
http://issues.apache.org/bugzilla/show_bug.cgi?id=27639 [convert]Default value conversion Summary: [convert]Default value conversion Product: Commons Version: unspecified Platform: Other OS/Version: Other Status: NEW Severity: Enhancement Priority: Other Component: Sandbox AssignedTo: [EMAIL PROTECTED] ReportedBy: [EMAIL PROTECTED] This is a patch that implements handling of default values for the convert2 codebase. The patch contains the following classes with corresponding unit tests: - ObjectToTypeConversionFactory is a base class for conversions and their factories that convert from arbitrary objects to a concrete type. - ObjectToIntConversionFactory performs the conversion its name implies. - DefaultValueConversion is a decorator conversion that allows other conversions to deal with default values that are returned if the value to be converted is null or if an exception occurs during conversion. - DefaultValueConversionFactory is a decorator conversion factory that constructs conversions that are decorated by a DefaultValueConversion. Oliver --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
