From 3b08feeeb6aff7574938b40c8374fb6618555537 Mon Sep 17 00:00:00 2001 From: HenrikJannsen Date: Thu, 20 Jun 2024 18:58:26 +0700 Subject: [PATCH] Remove version fields Signed-off-by: HenrikJannsen --- seednode/src/main/java/bisq/seednode/SeedNodeMain.java | 5 ++--- statsnode/src/main/java/bisq/statistics/StatisticsMain.java | 6 +++--- 2 files changed, 5 insertions(+), 6 deletions(-) diff --git a/seednode/src/main/java/bisq/seednode/SeedNodeMain.java b/seednode/src/main/java/bisq/seednode/SeedNodeMain.java index 57532a6394..c04d1c37a2 100644 --- a/seednode/src/main/java/bisq/seednode/SeedNodeMain.java +++ b/seednode/src/main/java/bisq/seednode/SeedNodeMain.java @@ -33,6 +33,7 @@ import bisq.common.Timer; import bisq.common.UserThread; import bisq.common.app.Capabilities; import bisq.common.app.Capability; +import bisq.common.app.Version; import bisq.common.config.BaseCurrencyNetwork; import bisq.common.config.Config; import bisq.common.handlers.ResultHandler; @@ -48,10 +49,8 @@ import lombok.extern.slf4j.Slf4j; @Slf4j public class SeedNodeMain extends ExecutableForAppWithP2p { private static final long CHECK_CONNECTION_LOSS_SEC = 30; - private static final String VERSION = "1.9.17"; public static void main(String[] args) { - System.out.println("SeedNode.VERSION: " + VERSION); new SeedNodeMain().execute(args); } @@ -59,7 +58,7 @@ public class SeedNodeMain extends ExecutableForAppWithP2p { private Timer checkConnectionLossTime; public SeedNodeMain() { - super("Bisq Seednode", "bisq-seednode", "bisq_seednode", VERSION); + super("Bisq Seednode", "bisq-seednode", "bisq_seednode", Version.VERSION); seedNode = new SeedNode(); } diff --git a/statsnode/src/main/java/bisq/statistics/StatisticsMain.java b/statsnode/src/main/java/bisq/statistics/StatisticsMain.java index bcb1b03ed4..ca0690a75a 100644 --- a/statsnode/src/main/java/bisq/statistics/StatisticsMain.java +++ b/statsnode/src/main/java/bisq/statistics/StatisticsMain.java @@ -19,21 +19,21 @@ package bisq.statistics; import bisq.core.app.misc.ExecutableForAppWithP2p; +import bisq.common.app.Version; + import lombok.extern.slf4j.Slf4j; @Slf4j public class StatisticsMain extends ExecutableForAppWithP2p { - private static final String VERSION = "1.0.1"; public static void main(String[] args) { - log.info("Statistics.VERSION: " + VERSION); new StatisticsMain().execute(args); } private final Statistics statistics; public StatisticsMain() { - super("Bisq Statsnode", "bisq-statistics", "bisq_statistics", VERSION); + super("Bisq Statsnode", "bisq-statistics", "bisq_statistics", Version.VERSION); statistics = new Statistics(); }