commons-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jeffnelson <...@git.apache.org>
Subject [GitHub] commons-lang issue #325: LANG-1392 methods for getting first non empty or no...
Date Fri, 20 Apr 2018 19:16:34 GMT
Github user jeffnelson commented on the issue:

    https://github.com/apache/commons-lang/pull/325
  
    @garydgregory - if you want me to refactor as such, I can. But I modeled the implementations
of these 2 new methods after the existing `ObjectUtils.firstNonNull(Object T ... values)`
https://github.com/apache/commons-lang/blob/master/src/main/java/org/apache/commons/lang3/ObjectUtils.java#L125-L134
    
    What I've submitted so far seemed like an obvious implementation choice since it is consistent
with other similar existing code.


---

Mime
View raw message