} catch (IOException e) {
}
- return null;
+ return new Version();
}
@Override
download(WebLibraryUrls.INDEX_URL).close();
} catch (IOException e) {
try {
- download(WebLibraryUrls.VERSION_URL).close();
+ download("/style.css").close();
return Status.UNAUTHORIZED;
} catch (IOException ioe) {
return Status.UNAVAILABLE;
@Override
public String getLibraryName() {
- return (rw ? "[READ-ONLY] " : "") + host + ":" + port;
+ return (rw ? "[READ-ONLY] " : "") + host + ":" + port + " ("
+ + getVersion() + ")";
}
@Override