mirror of
https://github.com/overcuriousity/autopsy-flatpak.git
synced 2025-07-15 09:17:42 +00:00
Merge pull request #2200 from karlmortensen/MIMEtypeFix
Fix cut and paste error with MIME types
This commit is contained in:
commit
c4e521fce3
@ -56,7 +56,7 @@ public class FileTypeDetector {
|
|||||||
*/
|
*/
|
||||||
public FileTypeDetector() throws FileTypeDetectorInitException {
|
public FileTypeDetector() throws FileTypeDetectorInitException {
|
||||||
try {
|
try {
|
||||||
userDefinedFileTypes = CustomFileTypesManager.getInstance().getFileTypes();
|
userDefinedFileTypes = CustomFileTypesManager.getInstance().getUserDefinedFileTypes();
|
||||||
autopsyDefinedFileTypes = CustomFileTypesManager.getInstance().getFileTypes();
|
autopsyDefinedFileTypes = CustomFileTypesManager.getInstance().getFileTypes();
|
||||||
} catch (CustomFileTypesManager.CustomFileTypesException ex) {
|
} catch (CustomFileTypesManager.CustomFileTypesException ex) {
|
||||||
throw new FileTypeDetectorInitException("Error loading custom file types", ex); //NON-NLS
|
throw new FileTypeDetectorInitException("Error loading custom file types", ex); //NON-NLS
|
||||||
@ -168,7 +168,7 @@ public class FileTypeDetector {
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* Detects the MIME type of a file. The result is saved to the case database
|
* Detects the MIME type of a file. The result is saved to the case database
|
||||||
* only if the add to case dastabase flag is set.
|
* only if the add to case database flag is set.
|
||||||
*
|
*
|
||||||
* @param file The file to test.
|
* @param file The file to test.
|
||||||
* @param addToCaseDb Whether the MIME type should be added to the case
|
* @param addToCaseDb Whether the MIME type should be added to the case
|
||||||
|
Loading…
x
Reference in New Issue
Block a user