From: Niki Roo Date: Wed, 13 May 2020 20:54:06 +0000 (+0200) Subject: weblib: use version in name X-Git-Url: https://git.nikiroo.be/?a=commitdiff_plain;h=a4efa44c8575c641a32878b177c035b5555d57ea;p=fanfix.git weblib: use version in name --- diff --git a/src/be/nikiroo/fanfix/library/WebLibrary.java b/src/be/nikiroo/fanfix/library/WebLibrary.java index 1178e40..8c71ff5 100644 --- a/src/be/nikiroo/fanfix/library/WebLibrary.java +++ b/src/be/nikiroo/fanfix/library/WebLibrary.java @@ -119,7 +119,7 @@ public class WebLibrary extends BasicLibrary { } catch (IOException e) { } - return null; + return new Version(); } @Override @@ -140,7 +140,8 @@ public class WebLibrary extends BasicLibrary { @Override public String getLibraryName() { - return (rw ? "[READ-ONLY] " : "") + host + ":" + port; + return (rw ? "[READ-ONLY] " : "") + host + ":" + port + " (" + + getVersion() + ")"; } @Override