19
19
import java .util .List ;
20
20
21
21
import org .jspecify .annotations .Nullable ;
22
+
22
23
import org .springframework .data .mapping .PersistentProperty ;
23
24
import org .springframework .data .rest .core .mapping .ResourceMetadata ;
24
25
import org .springframework .data .rest .webmvc .BaseUri ;
29
30
import org .springframework .web .util .UriComponents ;
30
31
31
32
/**
32
- * {@link LinkBuilder} to be able to create links pointing to repositories.
33
+ * {@code LinkBuilder} to be able to create links pointing to repositories.
33
34
*
34
35
* @author Oliver Gierke
35
36
*/
@@ -38,10 +39,10 @@ public class RepositoryLinkBuilder extends LinkBuilderSupport<RepositoryLinkBuil
38
39
private final ResourceMetadata metadata ;
39
40
40
41
/**
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 }.
42
43
*
43
44
* @param metadata must not be {@literal null}.
44
- * @param baseUri
45
+ * @param baseUri must not be {@literal null}.
45
46
*/
46
47
public RepositoryLinkBuilder (ResourceMetadata metadata , BaseUri baseUri ) {
47
48
this (metadata , baseUri .appendPath (metadata .getPath ()), Collections .emptyList ());
@@ -52,6 +53,7 @@ public RepositoryLinkBuilder(ResourceMetadata metadata, BaseUri baseUri) {
52
53
*
53
54
* @param metadata must not be {@literal null}.
54
55
* @param components must not be {@literal null}.
56
+ * @param affordances must not be {@literal null}.
55
57
*/
56
58
private RepositoryLinkBuilder (ResourceMetadata metadata , UriComponents components , List <Affordance > affordances ) {
57
59
0 commit comments