Return friends as Collection, not as List.
[Sone.git] / src / main / java / net / pterodactylus / sone / data / Sone.java
index 93e05e8..acf9031 100644 (file)
@@ -294,7 +294,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.