From a4efa44c8575c641a32878b177c035b5555d57ea Mon Sep 17 00:00:00 2001 From: Niki Roo Date: Wed, 13 May 2020 22:54:06 +0200 Subject: [PATCH] weblib: use version in name --- src/be/nikiroo/fanfix/library/WebLibrary.java | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/be/nikiroo/fanfix/library/WebLibrary.java b/src/be/nikiroo/fanfix/library/WebLibrary.java index 1178e40c..8c71ff59 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 -- 2.27.0