179180181182183184185186187188
result.add(m); } // Return the defects we found, or an error if none were present. if (result.isEmpty()) return new ErrorValue(map.getResource("No_Mappings_Selected"), ErrorTokens.MISSING_DATA_SEVERITY); else return result; }