X-Git-Url: https://git.pterodactylus.net/?p=Sone.git;a=blobdiff_plain;f=src%2Fmain%2Fjava%2Fnet%2Fpterodactylus%2Fsone%2Fdata%2FPostReplyBuilder.java;h=1ba7fd51bdb3cd810b186cd533374d036967c053;hp=6c3e236fd195e50d04436e853af46b91d58109b8;hb=fcabe38e9b3abacc0d580bf0513600858aee2eca;hpb=7d4bd03ba4bbaf451e04d2060a2e87068ef1e302 diff --git a/src/main/java/net/pterodactylus/sone/data/PostReplyBuilder.java b/src/main/java/net/pterodactylus/sone/data/PostReplyBuilder.java index 6c3e236..1ba7fd5 100644 --- a/src/main/java/net/pterodactylus/sone/data/PostReplyBuilder.java +++ b/src/main/java/net/pterodactylus/sone/data/PostReplyBuilder.java @@ -28,11 +28,11 @@ public interface PostReplyBuilder extends ReplyBuilder { * Configures this builder to set the given post as post the created reply * refers to. * - * @param post - * The post the reply refers to + * @param postId + * The ID of the post the reply refers to * @return This builder */ - public PostReplyBuilder to(Post post); + public PostReplyBuilder to(String postId); /** * Verifies the configuration of this builder and creates a new post reply. @@ -47,7 +47,7 @@ public interface PostReplyBuilder extends ReplyBuilder { * have been called. *
  • The {@link #withText(String) text} must not be {@code null} and must * contain something other than whitespace.
  • - *
  • The {@link #to(Post) post} have been set.
  • + *
  • The {@link #to(String) post} have been set.
  • * * * @return The created post reply