From d664cabb1a41ef7b43b06cd9cd8f433ebbfde7ad Mon Sep 17 00:00:00 2001 From: Matthew Messinger Date: Tue, 4 Sep 2018 19:09:24 -0400 Subject: [PATCH] Remove Flow. It could've just been a single method. --- .../java/com/voxelmodpack/hdskins/util/Flow.java | 13 ------------- 1 file changed, 13 deletions(-) delete mode 100644 src/hdskins/java/com/voxelmodpack/hdskins/util/Flow.java diff --git a/src/hdskins/java/com/voxelmodpack/hdskins/util/Flow.java b/src/hdskins/java/com/voxelmodpack/hdskins/util/Flow.java deleted file mode 100644 index fab9ed10..00000000 --- a/src/hdskins/java/com/voxelmodpack/hdskins/util/Flow.java +++ /dev/null @@ -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 { - - static Stream from(T obj) { - return Streams.stream(Optional.fromNullable(obj)); - } -}