ATLAS-3046: Part 3. Updated case for handling deleted classifications.

This commit is contained in:
Ashutosh Mestry 2019-02-11 23:35:11 -08:00 committed by nixonrodrigues
parent d24929978f
commit ef752a1825
1 changed files with 1 additions and 5 deletions

View File

@ -386,12 +386,8 @@ public class BulkFetchAndUpdate {
continue;
}
header.setGuid(null);
if (header.getClassifications().size() == 0) {
continue;
}
String key = String.format("%s:%s", header.getTypeName(), uniqueName);
header.setGuid(null);
boolean keyFound = uniqueNameEntityHeaderMap.containsKey(key);
if (!keyFound) {
uniqueNameEntityHeaderMap.put(key, header);