What is the best/idiomatic way of doing a null check before getting a stream?
I have method that is receiving a List that might be null. So I can\'t jus
List
apache commons-collections4:
CollectionUtils.emptyIfNull(list).stream()