mirror of
https://github.com/overcuriousity/autopsy-flatpak.git
synced 2025-07-12 07:56:16 +00:00
Don't restore the default bad tags if the user disables them all.
This commit is contained in:
parent
3c3ad42756
commit
e485765210
@ -122,7 +122,7 @@ public final class PostgresEamDbSettings {
|
||||
}
|
||||
|
||||
String badTagsStr = ModuleSettings.getConfigSetting("CentralRepository", "db.badTags"); // NON-NLS
|
||||
if (badTagsStr == null || badTagsStr.isEmpty()) {
|
||||
if (badTagsStr == null) {
|
||||
badTagsStr = DEFAULT_BAD_TAGS;
|
||||
}
|
||||
badTags = new ArrayList<>(Arrays.asList(badTagsStr.split(",")));
|
||||
|
@ -90,7 +90,7 @@ public final class SqliteEamDbSettings {
|
||||
}
|
||||
|
||||
String badTagsStr = ModuleSettings.getConfigSetting("CentralRepository", "db.badTags"); // NON-NLS
|
||||
if (badTagsStr == null || badTagsStr.isEmpty()) {
|
||||
if (badTagsStr == null) {
|
||||
badTagsStr = DEFAULT_BAD_TAGS;
|
||||
}
|
||||
badTags = new ArrayList<>(Arrays.asList(badTagsStr.split(",")));
|
||||
|
Loading…
x
Reference in New Issue
Block a user