From e3b0810e98f127aeac3e1333ff3947c76db860b1 Mon Sep 17 00:00:00 2001 From: =?utf8?q?David=20=E2=80=98Bombe=E2=80=99=20Roden?= Date: Thu, 2 Jan 2025 22:35:53 +0100 Subject: [PATCH] =?utf8?q?=F0=9F=97=91=EF=B8=8F=20Deprecate=20ListPeer=20c?= =?utf8?q?onstructor=20without=20both=20identifiers?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit --- src/main/java/net/pterodactylus/fcp/ListPeer.java | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/main/java/net/pterodactylus/fcp/ListPeer.java b/src/main/java/net/pterodactylus/fcp/ListPeer.java index 7397cd6..6385dad 100644 --- a/src/main/java/net/pterodactylus/fcp/ListPeer.java +++ b/src/main/java/net/pterodactylus/fcp/ListPeer.java @@ -32,7 +32,9 @@ public class ListPeer extends FcpMessage { * * @param nodeIdentifier * The identifier of the node to get details about + * @deprecated Use {@link #ListPeer(String, String)} instead */ + @Deprecated public ListPeer(String nodeIdentifier) { this(null, nodeIdentifier); } -- 2.7.4