Merge pull request #2967 from APriestman/2817_importHashDupes

Don't throw an exception for a duplicate value
This commit is contained in:
Richard Cordovano 2017-07-28 16:27:03 -04:00 committed by GitHub
commit fd0a22696f

View File

@ -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);