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:
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user