Commit 7b03bf1e authored by aa's avatar aa Committed by Julian Johannes Steinsberger-Dührßen

Fixed some bugs with checksum for larger files (compiles but untested)

parent 498723f7
......@@ -203,9 +203,9 @@ public class EMADLGenerator {
}
// Only used for training data, since they can be large
public String getChecksumForLargeFile(String filePath) throws IOException {
public String getChecksumForLargerFile(String filePath) throws IOException {
try {
return (new File(filePath)).lastModified();
return (new File(filePath)).lastModified() + "";
} catch (Exception e) {
e.printStackTrace();
return "Exception_calculating_hash_large_file";
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment