From 07b8dedfe353a27cb06c7f7d3086680829917c48 Mon Sep 17 00:00:00 2001 From: =?utf8?q?David=20=E2=80=98Bombe=E2=80=99=20Roden?= Date: Wed, 25 Mar 2009 00:35:53 +0100 Subject: [PATCH] Return a collection instead of a set. --- src/net/pterodactylus/fcp/highlevel/FcpClient.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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() { -- 2.7.4