Skip to content
Snippets Groups Projects
Commit 9d6fe828 authored by Vojtech Moravec's avatar Vojtech Moravec
Browse files

Remove unused method.

parent 53b23309
Branches
No related tags found
No related merge requests found
......@@ -3,9 +3,6 @@ package azgracompress.utilities;
import azgracompress.U16;
import azgracompress.data.Range;
import java.io.FileInputStream;
import java.io.FileNotFoundException;
import java.io.IOException;
import java.util.ArrayList;
......@@ -20,17 +17,6 @@ public class Utils {
return psnr;
}
public static byte[] readFileBytes(final String path) throws FileNotFoundException {
FileInputStream fileStream = new FileInputStream(path);
try {
throw new FileNotFoundException("Implement this actually!");
// return fileStream.readAllBytes();
} catch (IOException e) {
e.printStackTrace();
}
return new byte[0];
}
public static <T> boolean arrayContains(final T[] array, final T element) {
for (int i = 0; i < array.length; i++) {
if (array[i].equals(element))
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment