142143144145146147148149
if(items.size() == 0) return defaultValue(defaultValue); else if(items.size() == 1) return items.get(0); else throw new InconsistentDataException("Resolver failed to resolve" + " conflict: " + items.size() + " unresolved items", items); }