public SpyVersions loadVersions() throws XMLException {
  setLoading(true);
  final String urlString=propertyLoader.getProperty(BasePropertyNames.VERSION_INFO_URL) + "?current=" + currentRelease;
  try {
    final URL url=new URL(urlString);
    final String xml=IOUtils.toString(url.openStream());
    versions=(SpyVersions)loadFromString(xml);
  }
 catch (  IOException|NullPointerException e) {
    throw new XMLException("Cannot read version info from " + urlString,e);
  }
  setLoading(false);
  return versions;
}

public SpyVersions loadVersions ( ) throws XMLException { setLoading ( true ) ; final String urlString = propertyLoader . getProperty ( BasePropertyNames . VERSION_INFO_URL ) + "?current=" + currentRelease ; try { final URL url = new URL ( urlString ) ; final String xml = IOUtils . toString ( url . openStream ( ) ) ; versions = ( SpyVersions ) loadFromString ( xml ) ; } catch ( IOException | NullPointerException e ) { throw new XMLException ( "Cannot read version info from " + urlString , e ) ; } setLoading ( false ) ; return versions ; }
loads version information from the url .
