X-Git-Url: https://git.pterodactylus.net/?a=blobdiff_plain;f=src%2Fmain%2Fjava%2Fnet%2Fpterodactylus%2Ffcp%2FGetFailed.java;h=10c22b59e29d3bba13f6d157f2ea21b52636451d;hb=05e52ccf3f6e8f2645031cfd3b35f3f71d3a2b82;hp=f24bfcd0a57f34b4ce391d02215a57a126dcb604;hpb=97f432ee0c2189a2c540e365e37daa11d9a591b1;p=jFCPlib.git diff --git a/src/main/java/net/pterodactylus/fcp/GetFailed.java b/src/main/java/net/pterodactylus/fcp/GetFailed.java index f24bfcd..10c22b5 100644 --- a/src/main/java/net/pterodactylus/fcp/GetFailed.java +++ b/src/main/java/net/pterodactylus/fcp/GetFailed.java @@ -38,15 +38,15 @@ public class GetFailed extends BaseMessage implements Identifiable { * @param receivedMessage * The received message */ - GetFailed(FcpMessage receivedMessage) { + public GetFailed(FcpMessage receivedMessage) { super(receivedMessage); } /** * Returns the code of the error. * - * @return The code of the error, or -1 if the error code could - * not be parsed + * @return The code of the error, or -1 if the error code + * could not be parsed */ public int getCode() { return FcpUtils.safeParseInt(getField("Code")); @@ -57,6 +57,7 @@ public class GetFailed extends BaseMessage implements Identifiable { * * @return The identifier of the request */ + @Override public String getIdentifier() { return getField("Identifier"); } @@ -118,10 +119,11 @@ public class GetFailed extends BaseMessage implements Identifiable { } /** - * Returns whether the expected values (see {@link #getExpectedDataLength()} - * and {@link #getExpectedMetadataContentType()}) have already been - * finalized and can be trusted. If the values have not been finalized that - * can change over time. + * Returns whether the expected values (see + * {@link #getExpectedDataLength()} and + * {@link #getExpectedMetadataContentType()}) have already been finalized + * and can be trusted. If the values have not been finalized that can + * change over time. * * @return true if the expected values have already been * finalized, false otherwise @@ -142,8 +144,8 @@ public class GetFailed extends BaseMessage implements Identifiable { } /** - * Returns whether the request failed fatally. If a request fails fatally it - * can never complete, even with inifinite retries. + * Returns whether the request failed fatally. If a request fails fatally + * it can never complete, even with inifinite retries. * * @return true if the request failed fatally, * false otherwise