1
0
mirror of https://github.com/elisspace/autopsy.git synced 2026-09-05 18:14:30 +00:00

Fix behavior of deprecated FileTypeDetector.detect

This commit is contained in:
Richard Cordovano
2018-01-07 13:06:03 -05:00
parent 2880234569
commit 0fa972a572

View File

@@ -438,7 +438,6 @@ public class FileTypeDetector {
@Deprecated
public String detect(AbstractFile file) throws TskCoreException {
String fileType = detectMIMEType(file);
file.setMIMEType(fileType); // Retain side effect of setting value in file object.
return fileType;
}