[ 
https://issues.apache.org/jira/browse/LANG-1571?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17135285#comment-17135285
 ] 

Yeldos Tanikin edited comment on LANG-1571 at 6/15/20, 6:15 AM:
----------------------------------------------------------------

Hi, what do you think about this change, it will be compatible with previous 
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


was (Author: ytanikin):
Hi, what do you think about this change, it will be compatible with previous 
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)

Reply via email to