Remove Flow. It could've just been a single method.

This commit is contained in:
Matthew Messinger 2018-09-04 19:09:24 -04:00
parent 5851b1b46f
commit d664cabb1a

View file

@ -1,13 +0,0 @@
package com.voxelmodpack.hdskins.util;
import com.google.common.base.Optional;
import com.google.common.collect.Streams;
import java.util.stream.Stream;
public interface Flow<T> {
static <T> Stream<T> from(T obj) {
return Streams.stream(Optional.fromNullable(obj));
}
}