MarkDacek commented on issue #408: LANG-1435: Implemented defaultIfNull method that uses a supplier for default value URL: https://github.com/apache/commons-lang/pull/408#issuecomment-468522634 I'm curious whether this is worthwhile given the existence of ObjectUtils.firstNonNull. Is the supplier that much of a necessity? The only plus I see is that it wouldn't be executed if the default isn't null. Is that a major performance increase for a significant number of use-cases?
---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: [email protected] With regards, Apache Git Services
