diff --git a/appmain/stream/IOUtils.java b/appmain/stream/IOUtils.java deleted file mode 100644 index 4caffdd..0000000 --- a/appmain/stream/IOUtils.java +++ /dev/null @@ -1,31 +0,0 @@ -package com.proxgrind.chameleon.utils.stream; - -import androidx.annotation.Nullable; - -import java.io.Closeable; -import java.io.Flushable; -import java.io.IOException; - -public class IOUtils { - public static boolean close(@Nullable Closeable closeable) { - if (closeable == null) return false; - try { - closeable.close(); - return true; - } catch (IOException e) { - e.printStackTrace(); - } - return false; - } - - public static boolean flush(@Nullable Flushable flushable) { - if (flushable == null) return false; - try { - flushable.flush(); - return true; - } catch (IOException e) { - e.printStackTrace(); - return false; - } - } -}