public XXTagAttributeDef populateXXTagAttributeDef(RangerTagAttributeDef attrDef, XXTagAttributeDef xTagAttrDef,
XXTagDef parentObj) {
if (xTagAttrDef == null) {
xTagAttrDef = new XXTagAttributeDef();
}
<BUG>xTagAttrDef = (XXTagAttributeDef) rangerAuditFields.populateAuditFields(xTagAttrDef, parentObj);
xTagAttrDef.setTagDefId(parentObj.getId());</BUG>
xTagAttrDef.setName(attrDef.getName());
xTagAttrDef.setType(attrDef.getType());
return xTagAttrDef;

public XXTagAttributeDef populateXXTagAttributeDef(RangerTagAttributeDef attrDef, XXTagAttributeDef xTagAttrDef,
XXTagDef parentObj) {
if (xTagAttrDef == null) {
xTagAttrDef = new XXTagAttributeDef();
}
xTagAttrDef = rangerAuditFields.populateAuditFields(xTagAttrDef, parentObj);
xTagAttrDef.setTagDefId(parentObj.getId());
xTagAttrDef.setName(attrDef.getName());
xTagAttrDef.setType(attrDef.getType());
return xTagAttrDef;
