From 73adaf4bfe2af697d720e52fed60d5f2dd751514 Mon Sep 17 00:00:00 2001 From: Karl Mortensen Date: Thu, 2 Jun 2016 10:09:54 -0400 Subject: [PATCH] Fix cut and paste error with MIME types --- .../autopsy/modules/filetypeid/FileTypeDetector.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Core/src/org/sleuthkit/autopsy/modules/filetypeid/FileTypeDetector.java b/Core/src/org/sleuthkit/autopsy/modules/filetypeid/FileTypeDetector.java index 44a7cda7da..4fec7599ae 100644 --- a/Core/src/org/sleuthkit/autopsy/modules/filetypeid/FileTypeDetector.java +++ b/Core/src/org/sleuthkit/autopsy/modules/filetypeid/FileTypeDetector.java @@ -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