@Test public void testNullToEmptyNull() { Assert.assertNotNull("Method should never return null", CollectionUtils.nullToEmpty(null)); }
@SuppressWarnings("unchecked") public static <T> T[] nullToEmpty(final T[] array) { return array == null ? (T[])EMPTY_ARRAY : array; }
CollectionUtils { @SuppressWarnings("unchecked") public static <T> T[] nullToEmpty(final T[] array) { return array == null ? (T[])EMPTY_ARRAY : array; } }
CollectionUtils { @SuppressWarnings("unchecked") public static <T> T[] nullToEmpty(final T[] array) { return array == null ? (T[])EMPTY_ARRAY : array; } private  CollectionUtils(); }
CollectionUtils { @SuppressWarnings("unchecked") public static <T> T[] nullToEmpty(final T[] array) { return array == null ? (T[])EMPTY_ARRAY : array; } private  CollectionUtils(); static boolean isEmpty(final Collection<T> parameter); static boolean isNotEmpty(final Collection<T> parameter); @SuppressWarnings("unchecked") static T[] nullToEmpty(final T[] array); }
CollectionUtils { @SuppressWarnings("unchecked") public static <T> T[] nullToEmpty(final T[] array) { return array == null ? (T[])EMPTY_ARRAY : array; } private  CollectionUtils(); static boolean isEmpty(final Collection<T> parameter); static boolean isNotEmpty(final Collection<T> parameter); @SuppressWarnings("unchecked") static T[] nullToEmpty(final T[] array);  }