From 05b9421ee864289facced08cdcb1de23b990f55b Mon Sep 17 00:00:00 2001 From: Greg DiCristofaro Date: Thu, 1 Apr 2021 09:08:08 -0400 Subject: [PATCH] bundle changes --- .../autopsy/recentactivity/Bundle.properties-MERGED | 1 + .../autopsy/recentactivity/DefaultDomainCategorizer.java | 5 +++-- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/RecentActivity/src/org/sleuthkit/autopsy/recentactivity/Bundle.properties-MERGED b/RecentActivity/src/org/sleuthkit/autopsy/recentactivity/Bundle.properties-MERGED index 547b90ca6a..b796a16d26 100755 --- a/RecentActivity/src/org/sleuthkit/autopsy/recentactivity/Bundle.properties-MERGED +++ b/RecentActivity/src/org/sleuthkit/autopsy/recentactivity/Bundle.properties-MERGED @@ -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 diff --git a/RecentActivity/src/org/sleuthkit/autopsy/recentactivity/DefaultDomainCategorizer.java b/RecentActivity/src/org/sleuthkit/autopsy/recentactivity/DefaultDomainCategorizer.java index d055e132da..0d64661f6c 100644 --- a/RecentActivity/src/org/sleuthkit/autopsy/recentactivity/DefaultDomainCategorizer.java +++ b/RecentActivity/src/org/sleuthkit/autopsy/recentactivity/DefaultDomainCategorizer.java @@ -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; }