projects
/
jFCPlib.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
fix npe
[jFCPlib.git]
/
src
/
net
/
pterodactylus
/
fcp
/
highlevel
/
PeerListResult.java
diff --git
a/src/net/pterodactylus/fcp/highlevel/PeerListResult.java
b/src/net/pterodactylus/fcp/highlevel/PeerListResult.java
index
1d6e91f
..
456e01e
100644
(file)
--- a/
src/net/pterodactylus/fcp/highlevel/PeerListResult.java
+++ b/
src/net/pterodactylus/fcp/highlevel/PeerListResult.java
@@
-37,6
+37,16
@@
public class PeerListResult extends HighLevelResult implements Iterable<Peer> {
private final List<Peer> peers = new ArrayList<Peer>();
/**
private final List<Peer> peers = new ArrayList<Peer>();
/**
+ * Package-private constructor.
+ *
+ * @param identifier
+ * The identifier of the request
+ */
+ PeerListResult(String identifier) {
+ super(identifier);
+ }
+
+ /**
* Adds a peer to the list.
*
* @param peer
* Adds a peer to the list.
*
* @param peer