projects
/
jFCPlib.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Add Maven project description.
[jFCPlib.git]
/
src
/
net
/
pterodactylus
/
fcp
/
ProtocolError.java
diff --git
a/src/net/pterodactylus/fcp/ProtocolError.java
b/src/net/pterodactylus/fcp/ProtocolError.java
index
bc4629e
..
f59d1fe
100644
(file)
--- 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
*
* 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,15
+20,14
@@
package net.pterodactylus.fcp;
/**
* The “ProtocolError” message signals that something has gone really wrong.
/**
* The “ProtocolError” message signals that something has gone really wrong.
- *
- * @author <a href="mailto:dr@ina-germany.de">David Roden</a>
- * @version $Id$
+ *
+ * @author David ‘Bombe’ Roden <bombe@freenetproject.org>
*/
public class ProtocolError extends BaseMessage {
/**
* Creates a new “ProtocolError” message that wraps the received message.
*/
public class ProtocolError extends BaseMessage {
/**
* Creates a new “ProtocolError” message that wraps the received message.
- *
+ *
* @param receivedMessage
* The received message
*/
* @param receivedMessage
* The received message
*/
@@
-39,7
+37,7
@@
public class ProtocolError extends BaseMessage {
/**
* Returns whether the causing message had the “Global” flag set.
/**
* Returns whether the causing message had the “Global” flag set.
- *
+ *
* @return <code>true</code> if the causing message had the “Global” flag
* set
*/
* @return <code>true</code> if the causing message had the “Global” flag
* set
*/
@@
-49,9
+47,9
@@
public class ProtocolError extends BaseMessage {
/**
* Returns the error code.
/**
* Returns the error code.
- *
- * @return The error code, or <code>-1</code> if the error code could not
- *
be
parsed
+ *
+ * @return The error code, or <code>-1</code> if the error code could not
be
+ * parsed
*/
public int getCode() {
return FcpUtils.safeParseInt(getField("Code"));
*/
public int getCode() {
return FcpUtils.safeParseInt(getField("Code"));
@@
-59,7
+57,7
@@
public class ProtocolError extends BaseMessage {
/**
* Returns the description of the error.
/**
* Returns the description of the error.
- *
+ *
* @return The description of the error
*/
public String getCodeDescription() {
* @return The description of the error
*/
public String getCodeDescription() {
@@
-68,9
+66,9
@@
public class ProtocolError extends BaseMessage {
/**
* Returns some extra description of the error.
/**
* Returns some extra description of the error.
- *
- * @return Extra description of the error, or <code>null</code> if there
- *
is
none
+ *
+ * @return Extra description of the error, or <code>null</code> if there
is
+ * none
*/
public String getExtraDescription() {
return getField("ExtraDescription");
*/
public String getExtraDescription() {
return getField("ExtraDescription");
@@
-78,7
+76,7
@@
public class ProtocolError extends BaseMessage {
/**
* Returns whether the connection to the node can stay open.
/**
* Returns whether the connection to the node can stay open.
- *
+ *
* @return <code>true</code> when the connection has to be closed,
* <code>false</code> otherwise
*/
* @return <code>true</code> when the connection has to be closed,
* <code>false</code> otherwise
*/
@@
-88,7
+86,7
@@
public class ProtocolError extends BaseMessage {
/**
* The identifier of the causing request, if any.
/**
* The identifier of the causing request, if any.
- *
+ *
* @return The identifier of the causing request
*/
public String getIdentifier() {
* @return The identifier of the causing request
*/
public String getIdentifier() {