private List<Long> getEdits(long[] ids, FunctionTagManager tagManager,
			FunctionTagManager originalTagManager) {

		List<Long> retList = new ArrayList<>();

		for (long id : ids) {
			FunctionTag tag = tagManager.getFunctionTag(id);
			FunctionTag originalTag = originalTagManager.getFunctionTag(id);

			// If the tag objects aren't valid, just move to the next id.
			if (tag == null || originalTag == null) {
				continue;
			}

			// If the names and comments aren't the same between the two
			// tags, it's an edit.
			if (!(tag.getName().equals(originalTag.getName())) ||
				!(tag.getComment().equals(originalTag.getComment()))) {
				retList.add(id);
			}
		}
		return retList;
	}
Given a list of tag IDs, returns the subset of those who's tags have
been edited. 

This is determined by checking the tag attributes in the given
program version against Original.

@param ids the full list of ids to check
@param tagManager the source program tag manager
@param originalTagManager the Original program tag manager
@return
Ghidra/Features/Base/src/main/java/ghidra/app/merge/listing/FunctionTagMerger.java