hendrixjoseph opened a new pull request, #933: URL: https://github.com/apache/commons-lang/pull/933
* Original JIRA ticket (not by me): https://issues.apache.org/jira/projects/LANG/issues/LANG-1689 * Method `isEmpty` in `ObjectUtils` was modified to return the negation of `Optional.isPresent` (i.e. `!optional.isPresent()`) when the passed in object is an Optional. * The object contained within the Optional is not checked if it is also empty. This gives the caller the option to check if it's present (or not) on their own. * For instance, the caller might want to do something like the following: `ObjectUtils.isEmpty(optional) && ObjectUtils.isNotEmpty(optional.get())`. -- 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: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
