From: David ‘Bombe’ Roden Date: Tue, 24 Mar 2009 23:35:53 +0000 (+0100) Subject: Return a collection instead of a set. X-Git-Tag: v0.1.1~63 X-Git-Url: https://git.pterodactylus.net/?a=commitdiff_plain;h=07b8dedfe353a27cb06c7f7d3086680829917c48;p=jFCPlib.git Return a collection instead of a set. --- diff --git a/src/net/pterodactylus/fcp/highlevel/FcpClient.java b/src/net/pterodactylus/fcp/highlevel/FcpClient.java index 027b415..4af4426 100644 --- 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 */ - public Set getPeers(final boolean withMetadata, final boolean withVolatile) throws IOException, FcpException { + public Collection getPeers(final boolean withMetadata, final boolean withVolatile) throws IOException, FcpException { final Set peers = Collections.synchronizedSet(new HashSet()); new ExtendedFcpAdapter() {