public int checkVersionSize(final SoftwareVersion version){
  URL imageUrl=getImageURL(version);
  HttpURLConnection urlConnection=invokeRequest(imageUrl);
  return urlConnection.getContentLength();
}

public int checkVersionSize ( final SoftwareVersion version ) { URL imageUrl = getImageURL ( version ) ; HttpURLConnection urlConnection = invokeRequest ( imageUrl ) ; return urlConnection . getContentLength ( ) ; }
get the size of the image file of a version
