From e7e045159a30fc418df8d0ff35d35fc84d6e7dde Mon Sep 17 00:00:00 2001 From: Alva Swanson Date: Sun, 30 Jul 2023 18:27:52 +0200 Subject: [PATCH] Move BootstrapEventListener to new listener package --- .../src/main/java/bisq/tor/controller/NativeTorController.java | 1 + .../java/bisq/tor/controller/events/ControllerEventHandler.java | 2 +- .../{ => events/listener}/BootstrapEventListener.java | 2 +- 3 files changed, 3 insertions(+), 2 deletions(-) rename network/tor/src/main/java/bisq/tor/controller/{ => events/listener}/BootstrapEventListener.java (94%) diff --git a/network/tor/src/main/java/bisq/tor/controller/NativeTorController.java b/network/tor/src/main/java/bisq/tor/controller/NativeTorController.java index 12c30536f6..48707415e5 100644 --- a/network/tor/src/main/java/bisq/tor/controller/NativeTorController.java +++ b/network/tor/src/main/java/bisq/tor/controller/NativeTorController.java @@ -21,6 +21,7 @@ import bisq.tor.controller.events.BootstrapEvent; import bisq.tor.controller.events.ControllerEventHandler; import bisq.tor.controller.events.HsDescUploadedEvent; +import bisq.tor.controller.events.listener.BootstrapEventListener; import bisq.tor.process.NativeTorProcess; import lombok.extern.slf4j.Slf4j; import net.freehaven.tor.control.PasswordDigest; diff --git a/network/tor/src/main/java/bisq/tor/controller/events/ControllerEventHandler.java b/network/tor/src/main/java/bisq/tor/controller/events/ControllerEventHandler.java index 5127156d26..322f488c3c 100644 --- a/network/tor/src/main/java/bisq/tor/controller/events/ControllerEventHandler.java +++ b/network/tor/src/main/java/bisq/tor/controller/events/ControllerEventHandler.java @@ -17,7 +17,7 @@ package bisq.tor.controller.events; -import bisq.tor.controller.BootstrapEventListener; +import bisq.tor.controller.events.listener.BootstrapEventListener; import bisq.tor.controller.HsDescUploadedEventListener; import net.freehaven.tor.control.EventHandler; diff --git a/network/tor/src/main/java/bisq/tor/controller/BootstrapEventListener.java b/network/tor/src/main/java/bisq/tor/controller/events/listener/BootstrapEventListener.java similarity index 94% rename from network/tor/src/main/java/bisq/tor/controller/BootstrapEventListener.java rename to network/tor/src/main/java/bisq/tor/controller/events/listener/BootstrapEventListener.java index 195856b1eb..9d62ef3e19 100644 --- a/network/tor/src/main/java/bisq/tor/controller/BootstrapEventListener.java +++ b/network/tor/src/main/java/bisq/tor/controller/events/listener/BootstrapEventListener.java @@ -15,7 +15,7 @@ * along with Bisq. If not, see . */ -package bisq.tor.controller; +package bisq.tor.controller.events.listener; import bisq.tor.controller.events.BootstrapEvent;