From 83abce0f520935c039c1fd438b1ecf884ee503aa Mon Sep 17 00:00:00 2001 From: Christian Basler Date: Tue, 13 Sep 2016 07:25:23 +0200 Subject: [PATCH] Deprecate DefaultNetworkHandler in favor of NioNetworkHandler --- .../ch/dissem/bitmessage/networking/DefaultNetworkHandler.java | 3 +++ 1 file changed, 3 insertions(+) diff --git a/networking/src/main/java/ch/dissem/bitmessage/networking/DefaultNetworkHandler.java b/networking/src/main/java/ch/dissem/bitmessage/networking/DefaultNetworkHandler.java index 762d1be..1af62b5 100644 --- a/networking/src/main/java/ch/dissem/bitmessage/networking/DefaultNetworkHandler.java +++ b/networking/src/main/java/ch/dissem/bitmessage/networking/DefaultNetworkHandler.java @@ -43,7 +43,10 @@ import static java.util.Collections.newSetFromMap; /** * Handles all the networky stuff. + * + * @deprecated use {@link ch.dissem.bitmessage.networking.nio.NioNetworkHandler NioNetworkHandler} instead. */ +@Deprecated public class DefaultNetworkHandler implements NetworkHandler, ContextHolder { final Collection connections = new ConcurrentLinkedQueue<>();