mirror of
https://github.com/JEFF-Media-GbR/ChestSort.git
synced 2024-11-26 20:48:12 +01:00
Update Utils.java
comments
This commit is contained in:
parent
1aa7ad45ca
commit
54eac8106f
@ -6,6 +6,9 @@ import java.io.IOException;
|
||||
import java.io.InputStream;
|
||||
|
||||
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 {
|
||||
|
||||
int len;
|
||||
@ -25,6 +28,4 @@ public class Utils {
|
||||
}
|
||||
return buf;
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user