if (document == null) return null;
}
catch (Throwable t) {
LOG.debug(t);
throw new ConnectionException(t);
<BUG>}
final String availBuild = document.getRootElement().getChild(ELEMENT_BUILD).getTextTrim();

final String availVersion = document.getRootElement().getChild(ELEMENT_VERSION).getTextTrim();
</BUG>
String ourBuild = ApplicationInfo.getInstance().getBuildNumber().trim();

if (document == null) return null;
}
catch (Throwable t) {
LOG.debug(t);
throw new ConnectionException(t);
}
Element root = document.getRootElement();
final String availBuild = root.getChild(ELEMENT_BUILD).getTextTrim();
final String availVersion = root.getChild(ELEMENT_VERSION).getTextTrim();
String ourBuild = ApplicationInfo.getInstance().getBuildNumber().trim();
