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

Fix cut and paste error with MIME types

This commit is contained in:
Karl Mortensen
2016-06-02 10:09:54 -04:00
parent 4e6d4bd313
commit 73adaf4bfe

View File

@@ -56,7 +56,7 @@ public class FileTypeDetector {
*/
public FileTypeDetector() throws FileTypeDetectorInitException {
try {
userDefinedFileTypes = CustomFileTypesManager.getInstance().getFileTypes();
userDefinedFileTypes = CustomFileTypesManager.getInstance().getUserDefinedFileTypes();
autopsyDefinedFileTypes = CustomFileTypesManager.getInstance().getFileTypes();
} catch (CustomFileTypesManager.CustomFileTypesException ex) {
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
* 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 addToCaseDb Whether the MIME type should be added to the case