RegisterSpecList newSources;
newSources = new RegisterSpecList(sources.size());
int sz = sources.size();
for (int i = 0; i < sz; i++) {
newSources.set(i, map(sources.get(i)));
}
newSources.setImmutable();
// Return the old sources if nothing has changed
return newSources.equals(sources)? sources: newSources;