projects
/
Sone.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Don’t return Sone from removeLiked{Post,Reply}Id()
[Sone.git]
/
src
/
main
/
java
/
net
/
pterodactylus
/
sone
/
data
/
impl
/
SoneImpl.java
diff --git
a/src/main/java/net/pterodactylus/sone/data/impl/SoneImpl.java
b/src/main/java/net/pterodactylus/sone/data/impl/SoneImpl.java
index
439f4c9
..
0494607
100644
(file)
--- a/
src/main/java/net/pterodactylus/sone/data/impl/SoneImpl.java
+++ b/
src/main/java/net/pterodactylus/sone/data/impl/SoneImpl.java
@@
-533,12
+533,9
@@
public class SoneImpl implements Sone {
*
* @param postId
* The ID of the post
*
* @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);
likedPostIds.remove(postId);
- return this;
}
/**
}
/**
@@
-595,12
+592,9
@@
public class SoneImpl implements Sone {
*
* @param replyId
* The ID of the reply
*
* @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);
likedReplyIds.remove(replyId);
- return this;
}
/**
}
/**