Log.log(Log.CRITICAL, MODULE, "Update check failed"); Log.logException( Log.ERROR, MODULE, e );
Log.log(Log.LEVEL_CRITICAL, MODULE, "Update check failed"); Log.logException( Log.LEVEL_ERROR, MODULE, e );
		boolean check() {			try {				InputStream content = (InputStream) new URL(url).getContent();				GalleryProperties props = new GalleryProperties();				props.load(content);					releaseDate = props.getDateProperty("releaseDate");				version = props.getProperty("version");				releaseNotes = props.getProperty("releaseNotes");				releaseUrl = props.getProperty("releaseUrl");				Date myReleaseDate = GalleryRemote.getInstance().properties.getDateProperty("releaseDate");								Log.log(Log.TRACE, MODULE, "Local release date: " + myReleaseDate + " new: " + releaseDate);								return releaseDate.after(myReleaseDate);			} catch (Exception e) {				Log.log(Log.CRITICAL, MODULE, "Update check failed");				Log.logException( Log.ERROR, MODULE, e );								return false;			}		}