import java.util.Collection;
+import net.pterodactylus.sone.data.LocalSone;
import net.pterodactylus.sone.data.Sone;
/**
*/
public interface FriendProvider {
- Collection<String> getFriends(Sone localSone);
- boolean isFriend(Sone localSone, String friendSoneId);
+ Collection<String> getFriends(LocalSone localSone);
+ boolean isFriend(LocalSone localSone, String friendSoneId);
}
}
@Override
- public Collection<String> getFriends(Sone localSone) {
+ public Collection<String> getFriends(LocalSone localSone) {
if (!localSone.isLocal()) {
return Collections.emptySet();
}
}
@Override
- public boolean isFriend(Sone localSone, String friendSoneId) {
+ public boolean isFriend(LocalSone localSone, String friendSoneId) {
if (!localSone.isLocal()) {
return false;
}