liquibase-core/src/main/java/liquibase/util/CollectionUtil.java
public static <T> T[] createIfNull(T[] arguments) {
        if (arguments == null) {
            return (T[]) new Object[0];
        } else {
            return arguments;
        }
    }
public static <T> T[] createIfNull(T[] arguments) {
        if (arguments == null) {
            return (T[]) new Object[0];
        } else {
            return arguments;
        }
    }
public static < T > T [ ] createIfNull ( T [ ] arguments ) { if ( arguments == null ) { return ( T [ ] ) new Object [ 0 ] ; } else { return arguments ; } }
Returns a new empty array if the passed array is null.
Returns a new empty array if the passed array is null .