1919import java .util .List ;
2020
2121import org .jspecify .annotations .Nullable ;
22+
2223import org .springframework .data .mapping .PersistentProperty ;
2324import org .springframework .data .rest .core .mapping .ResourceMetadata ;
2425import org .springframework .data .rest .webmvc .BaseUri ;
2930import org .springframework .web .util .UriComponents ;
3031
3132/**
32- * {@link LinkBuilder} to be able to create links pointing to repositories.
33+ * {@code LinkBuilder} to be able to create links pointing to repositories.
3334 *
3435 * @author Oliver Gierke
3536 */
@@ -38,10 +39,10 @@ public class RepositoryLinkBuilder extends LinkBuilderSupport<RepositoryLinkBuil
3839 private final ResourceMetadata metadata ;
3940
4041 /**
41- * Creates a new {@link RepositoryLinkBuilder} with the given {@link ResourceMetadata} and base {@link URI }.
42+ * Creates a new {@link RepositoryLinkBuilder} with the given {@link ResourceMetadata} and base {@link BaseUri }.
4243 *
4344 * @param metadata must not be {@literal null}.
44- * @param baseUri
45+ * @param baseUri must not be {@literal null}.
4546 */
4647 public RepositoryLinkBuilder (ResourceMetadata metadata , BaseUri baseUri ) {
4748 this (metadata , baseUri .appendPath (metadata .getPath ()), Collections .emptyList ());
@@ -52,6 +53,7 @@ public RepositoryLinkBuilder(ResourceMetadata metadata, BaseUri baseUri) {
5253 *
5354 * @param metadata must not be {@literal null}.
5455 * @param components must not be {@literal null}.
56+ * @param affordances must not be {@literal null}.
5557 */
5658 private RepositoryLinkBuilder (ResourceMetadata metadata , UriComponents components , List <Affordance > affordances ) {
5759
0 commit comments