bundle changes

This commit is contained in:
Greg DiCristofaro 2021-04-01 09:08:08 -04:00
parent 191b3e7c3b
commit 05b9421ee8
2 changed files with 4 additions and 2 deletions

View File

@ -16,6 +16,7 @@ DataSourceUsage_FlashDrive=Flash Drive
# {0} - OS name
DataSourceUsageAnalyzer.customVolume.label=OS Drive ({0})
DataSourceUsageAnalyzer.parentModuleName=Recent Activity
DefaultPriorityDomainCategorizer_searchEngineCategory=Search Engine
DomainCategoryRunner_moduleName_text=DomainCategoryRunner
DomainCategoryRunner_parentModuleName=Recent Activity
DomainCategoryRunner_Progress_Message_Domain_Types=Finding Domain Types

View File

@ -53,7 +53,8 @@ import org.sleuthkit.autopsy.url.analytics.DomainCategory;
* https://bugs.openjdk.java.net/browse/JDK-8155591,
* https://bugs.eclipse.org/bugs/show_bug.cgi?id=350279.
*/
class DefaultDomainCategorizer implements DomainCategorizer {
@SuppressWarnings("try")
public class DefaultDomainCategorizer implements DomainCategorizer {
private static final String CSV_DELIMITER = ",";
private static final String DOMAIN_TYPE_CSV = "default_domain_categories.csv"; //NON-NLS
@ -161,7 +162,7 @@ class DefaultDomainCategorizer implements DomainCategorizer {
}
@Override
public void close() throws IOException {
public void close() throws Exception {
// clear out the mapping to release resources
mapping = null;
}