*
* @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.
*
* @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.
}
@Override
- public Sone removeLikedPostId(String postId) {
- return this;
+ public void removeLikedPostId(String postId) {
}
@Override
}
@Override
- public Sone removeLikedReplyId(String replyId) {
- return this;
+ public void removeLikedReplyId(String replyId) {
}
@Override
*
* @param postId
* The ID of the post
- * @return This Sone (for method chaining)
*/
- @Nonnull
- public Sone removeLikedPostId(@Nonnull String postId) {
+ public void removeLikedPostId(@Nonnull String postId) {
likedPostIds.remove(postId);
- return this;
}
/**
*
* @param replyId
* The ID of the reply
- * @return This Sone (for method chaining)
*/
- @Nonnull
- public Sone removeLikedReplyId(@Nonnull String replyId) {
+ public void removeLikedReplyId(@Nonnull String replyId) {
likedReplyIds.remove(replyId);
- return this;
}
/**