mirror of
https://github.com/overcuriousity/autopsy-flatpak.git
synced 2025-07-17 02:07:42 +00:00
Merge pull request #2967 from APriestman/2817_importHashDupes
Don't throw an exception for a duplicate value
This commit is contained in:
commit
fd0a22696f
@ -637,9 +637,7 @@ final class ImportHashDatabaseDialog extends javax.swing.JDialog {
|
|||||||
knownStatus,
|
knownStatus,
|
||||||
"");
|
"");
|
||||||
|
|
||||||
if (!globalInstances.add(eamGlobalFileInstance)) {
|
globalInstances.add(eamGlobalFileInstance);
|
||||||
throw new EamDbException(Bundle.ImportHashDatabaseDialog_ImportHashDatabaseWorker_duplicate(parts[0])); // NON-NLS
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
dbManager.bulkInsertReferenceTypeEntries(globalInstances, contentType);
|
dbManager.bulkInsertReferenceTypeEntries(globalInstances, contentType);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user