projects
/
jFCPlib.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Add method to add peer from a URL
[jFCPlib.git]
/
src
/
main
/
java
/
net
/
pterodactylus
/
fcp
/
DataFound.java
diff --git
a/src/main/java/net/pterodactylus/fcp/DataFound.java
b/src/main/java/net/pterodactylus/fcp/DataFound.java
index
81318c1
..
c00709a
100644
(file)
--- a/
src/main/java/net/pterodactylus/fcp/DataFound.java
+++ b/
src/main/java/net/pterodactylus/fcp/DataFound.java
@@
-20,12
+20,12
@@
package net.pterodactylus.fcp;
/**
* A “DataFound” message signals the client that the data requested by a
/**
* A “DataFound” message signals the client that the data requested by a
- * {@link ClientGet} operation has been found. This message does not include
the
- * actual data, though.
+ * {@link ClientGet} operation has been found. This message does not include
+ *
the
actual data, though.
*
* @author David ‘Bombe’ Roden <bombe@freenetproject.org>
*/
*
* @author David ‘Bombe’ Roden <bombe@freenetproject.org>
*/
-public class DataFound extends BaseMessage {
+public class DataFound extends BaseMessage
implements Identifiable
{
/**
* Creates a new “DataFound” message that wraps the received message.
/**
* Creates a new “DataFound” message that wraps the received message.
@@
-33,7
+33,7
@@
public class DataFound extends BaseMessage {
* @param receivedMessage
* The received message
*/
* @param receivedMessage
* The received message
*/
- DataFound(FcpMessage receivedMessage) {
+
public
DataFound(FcpMessage receivedMessage) {
super(receivedMessage);
}
super(receivedMessage);
}
@@
-52,6
+52,7
@@
public class DataFound extends BaseMessage {
*
* @return The identifier of the request
*/
*
* @return The identifier of the request
*/
+ @Override
public String getIdentifier() {
return getField("Identifier");
}
public String getIdentifier() {
return getField("Identifier");
}