if (clientVersionString != null) {
clientVersion = new Version(clientVersionString);
}
if (clientVersion == null) {
info.setStatus(ServerInfo.STATUS_UNKNOWN);
} else if (clientVersion.compareTo(new Version("5.0")) < 0) {
info.setStatus(ServerInfo.STATUS_CLIENT_TO_OLD);
} else if (clientVersion.compareTo(AppVersion.VERSION) > 0) {
info.setStatus(ServerInfo.STATUS_CLIENT_NEWER_THAN_SERVER);
} else {
info.setStatus(ServerInfo.STATUS_OK);