in aws-batch-schedulingpolicy/src/main/java/software/amazon/batch/schedulingpolicy/TagUtils.java [62:69]
static Map<String, String> getTagsToDelete(final Map<String, String> newTags, final Map<String, String> oldTags) {
final Map<String, String> tags = new HashMap<>();
final Set<String> removedKeys = Sets.difference(oldTags.keySet(), newTags.keySet());
for (String key : removedKeys) {
tags.put(key, oldTags.get(key));
}
return tags;
}