X-Git-Url: https://git.pterodactylus.net/?p=Sone.git;a=blobdiff_plain;f=src%2Fmain%2Fjava%2Fnet%2Fpterodactylus%2Fsone%2Fdata%2FSone.java;h=b43d02544d769c2d626e07e42b325db624210396;hp=258fb4c397aa2889cc3864a8b1ce7dca92785134;hb=438378deab1514f0f608d975ef65f5b7aea44ccb;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..b43d025 100644 --- a/src/main/java/net/pterodactylus/sone/data/Sone.java +++ b/src/main/java/net/pterodactylus/sone/data/Sone.java @@ -1,5 +1,5 @@ /* - * Sone - Sone.java - Copyright © 2010–2016 David Roden + * Sone - Sone.java - Copyright © 2010–2020 David Roden * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by @@ -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.