getUnchangedFields method
Implementation
List<NUIDBFieldTracker> getUnchangedFields(NUIDBEntityTracker tracker){
final unchangedList = List<NUIDBFieldTracker>();
//Loop through the list of fields from previous version
for(NUIDBFieldTracker field in tracker.fields) {
final fieldName = field.name;
//Loop through current fields to find matches or changes
for (NUIDBField t in fields()) {
if (match(t.name, fieldName)) {
//Found a matching field
if (!t.structureChanged(field)) {
unchangedList.add(field);
}
break;
}
}
}
return unchangedList;
}