🗑️ Deprecate ListPeer constructor without both identifiers
authorDavid ‘Bombe’ Roden <bombe@freenetproject.org>
Thu, 2 Jan 2025 21:35:53 +0000 (22:35 +0100)
committerDavid ‘Bombe’ Roden <bombe@freenetproject.org>
Thu, 2 Jan 2025 21:35:53 +0000 (22:35 +0100)
src/main/java/net/pterodactylus/fcp/ListPeer.java

index 7397cd6..6385dad 100644 (file)
@@ -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);
        }