From: David ‘Bombe’ Roden Date: Thu, 28 Oct 2010 09:26:35 +0000 (+0200) Subject: Merge branch 'master' into next X-Git-Tag: 0.2-RC1~101 X-Git-Url: https://git.pterodactylus.net/?a=commitdiff_plain;h=e6c5500dd519bf58064b72ed5491920ddbf00fcd;hp=9ad7670a3f8d82914939e89e5b3d429bb5fcbbb4;p=Sone.git Merge branch 'master' into next --- diff --git a/src/main/java/net/pterodactylus/sone/core/Core.java b/src/main/java/net/pterodactylus/sone/core/Core.java index 00aefe2..accfa1e 100644 --- a/src/main/java/net/pterodactylus/sone/core/Core.java +++ b/src/main/java/net/pterodactylus/sone/core/Core.java @@ -643,8 +643,8 @@ public class Core extends AbstractService { * The post to check for * @return All Sones that like the post */ - public Set getLikes(final Post post) { - return Filters.filteredSet(getSones(), new Filter() { + public Collection getLikes(final Post post) { + return Filters.filteredCollection(getKnownSones(), new Filter() { @Override public boolean filterObject(Sone sone) { @@ -660,8 +660,8 @@ public class Core extends AbstractService { * The reply to check for * @return All Sones that like the reply */ - public Set getLikes(final Reply reply) { - return Filters.filteredSet(getSones(), new Filter() { + public Collection getLikes(final Reply reply) { + return Filters.filteredCollection(getKnownSones(), new Filter() { @Override public boolean filterObject(Sone sone) {