mirror of
https://github.com/overcuriousity/autopsy-flatpak.git
synced 2025-07-15 01:07:42 +00:00
Fix behavior of deprecated FileTypeDetector.detect
This commit is contained in:
parent
2880234569
commit
0fa972a572
@ -438,7 +438,6 @@ public class FileTypeDetector {
|
|||||||
@Deprecated
|
@Deprecated
|
||||||
public String detect(AbstractFile file) throws TskCoreException {
|
public String detect(AbstractFile file) throws TskCoreException {
|
||||||
String fileType = detectMIMEType(file);
|
String fileType = detectMIMEType(file);
|
||||||
file.setMIMEType(fileType); // Retain side effect of setting value in file object.
|
|
||||||
return fileType;
|
return fileType;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user