X-Git-Url: https://git.pterodactylus.net/?p=Sone.git;a=blobdiff_plain;f=src%2Fmain%2Fjava%2Fnet%2Fpterodactylus%2Fsone%2Fdata%2FPostBuilder.java;h=87d02eeebaf15633f2308ad830a5def49f553831;hp=00f7354f7a1609718df56358bc06f695a1f51a1a;hb=afc39ea1568140a6e73e9b8343e004813f5d95c1;hpb=8ee35ad285afaede258cb59a616218a22d4f9646 diff --git a/src/main/java/net/pterodactylus/sone/data/PostBuilder.java b/src/main/java/net/pterodactylus/sone/data/PostBuilder.java index 00f7354..87d02ee 100644 --- a/src/main/java/net/pterodactylus/sone/data/PostBuilder.java +++ b/src/main/java/net/pterodactylus/sone/data/PostBuilder.java @@ -53,11 +53,11 @@ public interface PostBuilder { /** * Configures this builder to use the given Sone as sender of the new post. * - * @param sender - * The sender of the post + * @param senderId + * The ID of the sender of the post * @return This post builder */ - public PostBuilder from(Sone sender); + public PostBuilder from(String senderId); /** * Configures this builder to use a random ID for the new post. If this @@ -108,11 +108,11 @@ public interface PostBuilder { * Configures the builder to use the given {@link Sone} as recipient for the * post. * - * @param recipient - * The recipient of the post + * @param recipientId + * The ID of the recipient of the post * @return This post builder */ - public PostBuilder to(Sone recipient); + public PostBuilder to(String recipientId); /** * Verifies this builder’s configuration and creates a new post. @@ -122,14 +122,14 @@ public interface PostBuilder { * * * @return A new post