1 package com.github.searls.jasmine.collections;
2
3 import java.util.Collections;
4 import java.util.List;
5
6 public class CollectionHelper {
7
8 @SuppressWarnings("unchecked")
9 public <T> List<T> list(List<T> list) {
10 return list == null ? Collections.EMPTY_LIST : list;
11 }
12
13 }