@Nullable
    private static <T> T firstNonNull(final T[] array) {
        if (array != null) {
            for (T value : array) {
                if (value != null) {
                    return value;
                }
            }
        }
        return null;
    }
Returns a non-null fillcolor. If color for this object is null then given defaults are used
main/src/main/java/cgeo/geocaching/models/geoitem/GeoStyle.java