Update Utils.java

comments
This commit is contained in:
JEFF 2019-04-29 02:12:36 +02:00 committed by GitHub
parent 1aa7ad45ca
commit 54eac8106f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -6,6 +6,9 @@ import java.io.IOException;
import java.io.InputStream; import java.io.InputStream;
public class Utils { public class Utils {
// We need this to write the category files inside the .jar to the disk
// Maybe there is a smarter way, i don't know.
public static byte[] getBytes(InputStream is) throws IOException { public static byte[] getBytes(InputStream is) throws IOException {
int len; int len;
@ -25,6 +28,4 @@ public class Utils {
} }
return buf; return buf;
} }
} }