From: David ‘Bombe’ Roden Date: Mon, 13 Jul 2015 05:15:37 +0000 (+0200) Subject: Add second constructor to set identifier X-Git-Url: https://git.pterodactylus.net/?a=commitdiff_plain;h=1d2048edc0856425c91337bb103ee526de663e9d;p=jFCPlib.git Add second constructor to set identifier --- diff --git a/src/main/java/net/pterodactylus/fcp/ListPeerNotes.java b/src/main/java/net/pterodactylus/fcp/ListPeerNotes.java index 82e3399..9080830 100644 --- a/src/main/java/net/pterodactylus/fcp/ListPeerNotes.java +++ b/src/main/java/net/pterodactylus/fcp/ListPeerNotes.java @@ -38,4 +38,9 @@ public class ListPeerNotes extends FcpMessage { setField("NodeIdentifier", nodeIdentifier); } + public ListPeerNotes(String identifier, String nodeIdentifier) { + this(nodeIdentifier); + setField("Identifier", identifier); + } + }