[
https://issues.apache.org/jira/browse/LANG-1571?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Yeldos Tanikin updated LANG-1571:
---------------------------------
Comment: was deleted
(was: Hi, what do you think about this change, it will be compatible with the
current one and allow us to pass a few suppliers and take the first not null
result. Should it have a different name like getFirstIfNull?
can I take the task to implement? what should I do to start?
Sorry, I'm new here, maybe I should not create task before discuss with you,
tell me what should I do If I'm not correct)
> Allow to pass Supplier varargs to getIfNull
> -------------------------------------------
>
> Key: LANG-1571
> URL: https://issues.apache.org/jira/browse/LANG-1571
> Project: Commons Lang
> Issue Type: Improvement
> Reporter: Yeldos Tanikin
> Priority: Major
>
> change
> public static <T> T getIfNull(final T object, final Supplier<T>
> defaultSupplier)
> to
> public static <T> T getIfNull(final T object, final Supplier<T>... suppliers)
>
--
This message was sent by Atlassian Jira
(v8.3.4#803005)