projects
/
Sone.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Replace Sone builder factory interface with Kotlin version
[Sone.git]
/
src
/
main
/
java
/
net
/
pterodactylus
/
sone
/
data
/
Sone.java
diff --git
a/src/main/java/net/pterodactylus/sone/data/Sone.java
b/src/main/java/net/pterodactylus/sone/data/Sone.java
index
258fb4c
..
b761c7b
100644
(file)
--- a/
src/main/java/net/pterodactylus/sone/data/Sone.java
+++ b/
src/main/java/net/pterodactylus/sone/data/Sone.java
@@
-443,10
+443,8
@@
public interface Sone extends Identified, Fingerprintable, Comparable<Sone> {
*
* @param postId
* The ID of the post
*
* @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.
/**
* Returns the IDs of all liked replies.
@@
-491,10
+489,8
@@
public interface Sone extends Identified, Fingerprintable, Comparable<Sone> {
*
* @param replyId
* The ID of the reply
*
* @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.
/**
* Returns the root album that contains all visible albums of this Sone.