if (configs.size() != 1) {
getConfigPart().addAdditionalProblem(new ConfigProblem(
getConfigPart(), "configuration.client.error.no-single-server"));
}
Set<String> ret = new HashSet<String>();
<BUG>for (ConnectionUIConfiguration.ClientResult result : ClientNameDataPart.loadClientNames(configs).values()) {
ret.addAll(result.getClientNames());
}</BUG>
if (!ret.contains(selected)) {
ret.add(selected);

if (configs.size() != 1) {
getConfigPart().addAdditionalProblem(new ConfigProblem(
getConfigPart(), "configuration.client.error.no-single-server"));
}
Set<String> ret = new HashSet<String>();
for (ConnectionUIConfiguration.ClientResult result : ClientNameDataPart.loadClientNames(configs).values()) {
LOG.info("Loaded clients " + result.getClientNames() + "; problem " + result.getConnectionProblem());
ret.addAll(result.getClientNames());
if (result.getConnectionProblem() != null) {
getConfigPart().addAdditionalProblem(new ConfigProblem(getConfigPart(), result.getConnectionProblem()));
}
}
if (!ret.contains(selected)) {
ret.add(selected);
