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

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