Return a collection instead of a list for the friends.
[Sone.git] / src / main / java / net / pterodactylus / sone / data / Sone.java
index 27f2cb1..04c5f39 100644 (file)
@@ -341,7 +341,7 @@ public interface Sone extends Identified, Fingerprintable, Comparable<Sone> {
         *
         * @return The friend Sones of this Sone
         */
-       List<String> getFriends();
+       Collection<String> getFriends();
 
        /**
         * Returns whether this Sone has the given Sone as a friend Sone.