projects
/
jFCPlib.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Return a collection instead of a set.
[jFCPlib.git]
/
src
/
net
/
pterodactylus
/
fcp
/
highlevel
/
FcpClient.java
diff --git
a/src/net/pterodactylus/fcp/highlevel/FcpClient.java
b/src/net/pterodactylus/fcp/highlevel/FcpClient.java
index
027b415
..
4af4426
100644
(file)
--- a/
src/net/pterodactylus/fcp/highlevel/FcpClient.java
+++ b/
src/net/pterodactylus/fcp/highlevel/FcpClient.java
@@
-213,7
+213,7
@@
public class FcpClient {
* @throws FcpException
* if an FCP error occurs
*/
* @throws FcpException
* if an FCP error occurs
*/
- public
Set
<Peer> getPeers(final boolean withMetadata, final boolean withVolatile) throws IOException, FcpException {
+ public
Collection
<Peer> getPeers(final boolean withMetadata, final boolean withVolatile) throws IOException, FcpException {
final Set<Peer> peers = Collections.synchronizedSet(new HashSet<Peer>());
new ExtendedFcpAdapter() {
final Set<Peer> peers = Collections.synchronizedSet(new HashSet<Peer>());
new ExtendedFcpAdapter() {