if (data.isEmpty()) {
retval = Collections.emptySet();
} else {
retval = new LinkedHashSet<CheckImport>(data.size());
for (CheckImportType node : data) {
retval.add(new DefaultCheckImport(node.getImportName(), node.getStringValue()));
}
}
return retval;
}