X-Git-Url: https://git.pterodactylus.net/?p=Sone.git;a=blobdiff_plain;f=src%2Fmain%2Fjava%2Fnet%2Fpterodactylus%2Fsone%2Fdata%2FSone.java;h=33b8edd5c909485c1af698a9683bdeef7cc2af72;hp=258fb4c397aa2889cc3864a8b1ce7dca92785134;hb=62573c314957b1851f4fbe693b8746686caa940a;hpb=acfc86d839d5a8b8c75b0198f48dd12e10128c65 diff --git a/src/main/java/net/pterodactylus/sone/data/Sone.java b/src/main/java/net/pterodactylus/sone/data/Sone.java index 258fb4c..33b8edd 100644 --- a/src/main/java/net/pterodactylus/sone/data/Sone.java +++ b/src/main/java/net/pterodactylus/sone/data/Sone.java @@ -44,15 +44,11 @@ import com.google.common.primitives.Ints; /** * A Sone defines everything about a user: her profile, her status updates, her * replies, her likes and dislikes, etc. - * - * @author David ‘Bombe’ Roden */ public interface Sone extends Identified, Fingerprintable, Comparable { /** * Enumeration for the possible states of a {@link Sone}. - * - * @author David ‘Bombe’ Roden */ public enum SoneStatus { @@ -443,10 +439,8 @@ public interface Sone extends Identified, Fingerprintable, Comparable { * * @param postId * The ID of the post - * @return This Sone (for method chaining) */ - @Nonnull - Sone removeLikedPostId(@Nonnull String postId); + void removeLikedPostId(@Nonnull String postId); /** * Returns the IDs of all liked replies. @@ -491,10 +485,8 @@ public interface Sone extends Identified, Fingerprintable, Comparable { * * @param replyId * The ID of the reply - * @return This Sone (for method chaining) */ - @Nonnull - Sone removeLikedReplyId(@Nonnull String replyId); + void removeLikedReplyId(@Nonnull String replyId); /** * Returns the root album that contains all visible albums of this Sone.