if (tableChange == null)
return null;
List<StructuralChange<?>> changes = tableChange.getSubChanges(new ChangeByAffectedObjectFilter(procedure));
if (changes.size() == 0)
return "UNCHANGED";
ChangeSeverity severity = null;
SanityCheckVerdict verdict = null;
for (StructuralChange<?> change : changes) {
ChangeSeverity changeSeverity = change.getSeverity();
if (severity == null || severity.compareTo(changeSeverity) < 0)
severity = changeSeverity;
if (severity == ChangeSeverity.RESTRICTION) {
SanityCheck check = change.getCheck();
if (check != null) {