X-Git-Url: https://git.pterodactylus.net/?a=blobdiff_plain;f=src%2Fmain%2Fjava%2Fnet%2Fpterodactylus%2Ffcp%2FSubscribedUSKUpdate.java;h=21cd46676d07d20d5beafbcc17d72d7522e8cf21;hb=05e52ccf3f6e8f2645031cfd3b35f3f71d3a2b82;hp=e616b5de7dc1a8610302fe4f4c55d75f9aea2332;hpb=508624458578f01a393f8b44f32b98b40054fdc8;p=jFCPlib.git diff --git a/src/main/java/net/pterodactylus/fcp/SubscribedUSKUpdate.java b/src/main/java/net/pterodactylus/fcp/SubscribedUSKUpdate.java index e616b5d..21cd466 100644 --- a/src/main/java/net/pterodactylus/fcp/SubscribedUSKUpdate.java +++ b/src/main/java/net/pterodactylus/fcp/SubscribedUSKUpdate.java @@ -19,15 +19,15 @@ package net.pterodactylus.fcp; /** - * A “SubscribedUSKUpdate” message is sent each time a new edition of a USK that - * was previously subscribed to with {@link SubscribeUSK} was found. Note that - * if the new edition that was found is several editions ahead of the currently - * last known edition, you will received a SubscribedUSKUpdate for each edition - * inbetween as welL! + * A “SubscribedUSKUpdate” message is sent each time a new edition of a USK + * that was previously subscribed to with {@link SubscribeUSK} was found. Note + * that if the new edition that was found is several editions ahead of the + * currently last known edition, you will received a SubscribedUSKUpdate for + * each edition inbetween as welL! * * @author David ‘Bombe’ Roden <bombe@freenetproject.org> */ -public class SubscribedUSKUpdate extends BaseMessage { +public class SubscribedUSKUpdate extends BaseMessage implements Identifiable { /** * Creates a new “SubscribedUSKUpdate” message that wraps the received @@ -36,7 +36,7 @@ public class SubscribedUSKUpdate extends BaseMessage { * @param receivedMessage * The received message */ - SubscribedUSKUpdate(FcpMessage receivedMessage) { + public SubscribedUSKUpdate(FcpMessage receivedMessage) { super(receivedMessage); } @@ -45,6 +45,7 @@ public class SubscribedUSKUpdate extends BaseMessage { * * @return The identifier of the subscription */ + @Override public String getIdentifier() { return getField("Identifier"); }