class ArrayUtils {

    @SuppressWarnings("PMD.AvoidArrayLoops")
    public static Long[] toObject(long[] array) {
        if (array == null || array.length == 0) {
            return EMPTY_LONG_OBJECT_ARRAY;
        }
        final Long[] result = new Long[array.length];
        for (int i = 0; i < array.length; i++) {
            result[i] = array[i];
        }
        return result;
    }

    private  ArrayUtils();

}