X-Git-Url: https://git.pterodactylus.net/?a=blobdiff_plain;f=src%2Fnet%2Fpterodactylus%2Ffcp%2FProtocolError.java;h=f59d1fed563104347d835bb4ba321119581f74f7;hb=dd605aee444057a874fabf7fb0045b8448b0d1cd;hp=d727e33e9950402ec796623089aefbc197173433;hpb=99e3619bcf2e4762678d6c8bd24da08bc87b7190;p=jFCPlib.git diff --git a/src/net/pterodactylus/fcp/ProtocolError.java b/src/net/pterodactylus/fcp/ProtocolError.java index d727e33..f59d1fe 100644 --- a/src/net/pterodactylus/fcp/ProtocolError.java +++ b/src/net/pterodactylus/fcp/ProtocolError.java @@ -1,6 +1,5 @@ /* - * jSite2 - ProtocolError.java - - * Copyright © 2008 David Roden + * jFCPlib - ProtocolError.java - Copyright © 2008 David Roden * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by @@ -21,14 +20,14 @@ package net.pterodactylus.fcp; /** * The “ProtocolError” message signals that something has gone really wrong. - * + * * @author David ‘Bombe’ Roden <bombe@freenetproject.org> */ public class ProtocolError extends BaseMessage { /** * Creates a new “ProtocolError” message that wraps the received message. - * + * * @param receivedMessage * The received message */ @@ -38,7 +37,7 @@ public class ProtocolError extends BaseMessage { /** * Returns whether the causing message had the “Global” flag set. - * + * * @return true if the causing message had the “Global” flag * set */ @@ -48,9 +47,9 @@ public class ProtocolError extends BaseMessage { /** * Returns the error code. - * - * @return The error code, or -1 if the error code could not - * be parsed + * + * @return The error code, or -1 if the error code could not be + * parsed */ public int getCode() { return FcpUtils.safeParseInt(getField("Code")); @@ -58,7 +57,7 @@ public class ProtocolError extends BaseMessage { /** * Returns the description of the error. - * + * * @return The description of the error */ public String getCodeDescription() { @@ -67,9 +66,9 @@ public class ProtocolError extends BaseMessage { /** * Returns some extra description of the error. - * - * @return Extra description of the error, or null if there - * is none + * + * @return Extra description of the error, or null if there is + * none */ public String getExtraDescription() { return getField("ExtraDescription"); @@ -77,7 +76,7 @@ public class ProtocolError extends BaseMessage { /** * Returns whether the connection to the node can stay open. - * + * * @return true when the connection has to be closed, * false otherwise */ @@ -87,7 +86,7 @@ public class ProtocolError extends BaseMessage { /** * The identifier of the causing request, if any. - * + * * @return The identifier of the causing request */ public String getIdentifier() {