From: David ‘Bombe’ Roden Date: Mon, 4 Nov 2013 05:27:12 +0000 (+0100) Subject: Return friends as Collection, not as List. X-Git-Url: https://git.pterodactylus.net/?p=Sone.git;a=commitdiff_plain;h=5f4e40308ba607fb02310fc235b8693dedd7d0a9 Return friends as Collection, not as List. --- diff --git a/src/main/java/net/pterodactylus/sone/data/Sone.java b/src/main/java/net/pterodactylus/sone/data/Sone.java index 93e05e8..acf9031 100644 --- a/src/main/java/net/pterodactylus/sone/data/Sone.java +++ b/src/main/java/net/pterodactylus/sone/data/Sone.java @@ -294,7 +294,7 @@ public interface Sone extends Identified, Fingerprintable, Comparable { * * @return The friend Sones of this Sone */ - List getFriends(); + Collection getFriends(); /** * Returns whether this Sone has the given Sone as a friend Sone.