// compatibility with earlier plugins
public Object readResolve() {
if (!this.getClass().equals(SCMBrowserBase.class)) {
return this;
}
// make sure to return the default SCMBrowser only if we no class is given in config.
try {
return new SCMBrowser(url.toExternalForm());
} catch (MalformedURLException e) {
throw new RuntimeException(e);
}
}