From: David ‘Bombe’ Roden Date: Thu, 2 Jan 2025 21:35:53 +0000 (+0100) Subject: 🗑️ Deprecate ListPeer constructor without both identifiers X-Git-Url: https://git.pterodactylus.net/?a=commitdiff_plain;h=e3b0810e98f127aeac3e1333ff3947c76db860b1;p=jFCPlib.git 🗑️ Deprecate ListPeer constructor without both identifiers --- 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); }