projects
/
Sone.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Move post creation into Sone, remove memory-based post builder.
[Sone.git]
/
src
/
main
/
java
/
net
/
pterodactylus
/
sone
/
database
/
PostBuilder.java
diff --git
a/src/main/java/net/pterodactylus/sone/database/PostBuilder.java
b/src/main/java/net/pterodactylus/sone/database/PostBuilder.java
index
449147a
..
c46bd69
100644
(file)
--- a/
src/main/java/net/pterodactylus/sone/database/PostBuilder.java
+++ b/
src/main/java/net/pterodactylus/sone/database/PostBuilder.java
@@
-54,15
+54,6
@@
public interface PostBuilder {
public PostBuilder copyPost(Post post) throws NullPointerException;
/**
public PostBuilder copyPost(Post post) throws NullPointerException;
/**
- * Configures this builder to use the given Sone as sender of the new post.
- *
- * @param senderId
- * The ID of the sender of the post
- * @return This post builder
- */
- public PostBuilder from(String senderId);
-
- /**
* Configures this builder to use a random ID for the new post. If this
* method is used, {@link #withId(String)} must not be used.
*
* Configures this builder to use a random ID for the new post. If this
* method is used, {@link #withId(String)} must not be used.
*