private boolean checkServer(List<? extends ServerItem> items) {
for (ServerItem item : items) {
ServerGuid id = item.getServerGuid();
if (id != null && !id.equals(serverInfo.getGuid())) {
String msg = WebServiceMessages.getMessage("UserAdmin.Upload.ServerMismatch");
KnownServer server = serverManager.getKnownServer(id);
if (server != null) {
msg += " " + WebServiceMessages.getFormattedMessage("UserAdmin.Upload.Login",
new Object[] { server.getServerInfo().getName() });
}
Alert.error(msg, WebServiceMessages.getMessage("Title.Error"));
return false;
}
}