commons-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From GitBox <...@apache.org>
Subject [GitHub] PascalSchumacher commented on issue #408: LANG-1435: Implemented defaultIfNull method that uses a supplier for default value
Date Fri, 01 Mar 2019 17:10:14 GMT
PascalSchumacher 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-468738322
 
 
   Thanks for the pull request!
   
   Java 11 offers `Objects#requireNonNullElseGet` (see https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/util/Objects.html#requireNonNullElseGet(T,java.util.function.Supplier)
for details), so I don't think we should add this.

----------------------------------------------------------------
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:
users@infra.apache.org


With regards,
Apache Git Services

Mime
View raw message