File tree Expand file tree Collapse file tree 1 file changed +2
-3
lines changed
http-api/src/main/java/io/avaje/http/api Expand file tree Collapse file tree 1 file changed +2
-3
lines changed Original file line number Diff line number Diff line change 33import java .math .BigDecimal ;
44import java .time .*;
55import java .util .List ;
6- import java .util .Objects ;
76import java .util .Set ;
87import java .util .UUID ;
98import java .util .function .Function ;
@@ -53,11 +52,11 @@ private static void checkNull(String value) {
5352 }
5453
5554 public static <T > List <T > list (Function <String , T > func , List <String > params ) {
56- return params .stream ().filter ( Objects :: nonNull ). map (func ).collect (Collectors .toList ());
55+ return params .stream ().map (func ).collect (Collectors .toList ());
5756 }
5857
5958 public static <T > Set <T > set (Function <String , T > func , List <String > params ) {
60- return params .stream ().filter ( Objects :: nonNull ). map (func ).collect (Collectors .toSet ());
59+ return params .stream ().map (func ).collect (Collectors .toSet ());
6160 }
6261
6362 /** Convert to int. */
You can’t perform that action at this time.
0 commit comments