mappingsURL = null;
String message = "Unable to find " + mappingsURL + " Defaulting to a blank string."; //$NON-NLS-1$
this.getLog().log(new Status(IStatus.ERROR, ID, 0, message, e));
}
}
PropertyResourceBundle bundle = null;
if (mappingsURL != null) {
InputStream is = null;
try {
is = mappingsURL.openStream();
bundle = new PropertyResourceBundle(is);
} catch (IOException e) {
bundle = null;
String message = "Unable to parse version from about.mappings file. Defaulting to a blank string."; //$NON-NLS-1$
this.getLog().log(new Status(IStatus.ERROR, ID, 0, message, e));
} finally {
try {
if (is != null)
is.close();
} catch (IOException e) {
}
}
}
if (bundle != null) {
this.version = bundle.getString(UDIG_VERSION_KEY);
}
}