X-Git-Url: https://git.pterodactylus.net/?a=blobdiff_plain;f=src%2Fmain%2Fjava%2Fnet%2Fpterodactylus%2Ffcp%2FPeer.java;h=df1c8f0e9176ff6f2470ea94f28d8bea51d9ff7a;hb=b171126719c983b590c51f22eb60a3e0afdf1fb9;hp=f942393f587b8818d3b20c373c77bfe08b62faa0;hpb=97f432ee0c2189a2c540e365e37daa11d9a591b1;p=jFCPlib.git diff --git a/src/main/java/net/pterodactylus/fcp/Peer.java b/src/main/java/net/pterodactylus/fcp/Peer.java index f942393..df1c8f0 100644 --- a/src/main/java/net/pterodactylus/fcp/Peer.java +++ b/src/main/java/net/pterodactylus/fcp/Peer.java @@ -66,6 +66,7 @@ public class Peer extends BaseMessage implements Identifiable { * * @return The identifier of the request */ + @Override public String getIdentifier() { return getField("Identifier"); } @@ -212,9 +213,10 @@ public class Peer extends BaseMessage implements Identifiable { } /** - * Returns one of the volatile fields from the message. The given field name - * is prepended with “volatile.” so if you want to get the value of the - * field with the name “volatile.status” you only need to specify “status”. + * Returns one of the volatile fields from the message. The given field + * name is prepended with “volatile.” so if you want to get the value of + * the field with the name “volatile.status” you only need to specify + * “status”. * * @param field * The name of the field @@ -241,10 +243,10 @@ public class Peer extends BaseMessage implements Identifiable { } /** - * Returns one of the metadata fields from the message. The given field name - * is prepended with “metadata.” so if you want to get the value of the - * field with the name “metadata.timeLastRoutable” you only need to specify - * “timeLastRoutable”. + * Returns one of the metadata fields from the message. The given field + * name is prepended with “metadata.” so if you want to get the value of + * the field with the name “metadata.timeLastRoutable” you only need to + * specify “timeLastRoutable”. * * @param field * The name of the field