Skip to content

Commit 566d229

Browse files
committed
Polishing.
See #2450
1 parent 2807e76 commit 566d229

File tree

2 files changed

+6
-4
lines changed

2 files changed

+6
-4
lines changed
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
1-
/** AOT & native configuration for rest.webmvc */
1+
/** AOT and native configuration for Spring Data REST */
22
@org.jspecify.annotations.NullMarked
33
package org.springframework.data.rest.webmvc.aot;

spring-data-rest-webmvc/src/main/java/org/springframework/data/rest/webmvc/support/RepositoryLinkBuilder.java

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@
1919
import java.util.List;
2020

2121
import org.jspecify.annotations.Nullable;
22+
2223
import org.springframework.data.mapping.PersistentProperty;
2324
import org.springframework.data.rest.core.mapping.ResourceMetadata;
2425
import org.springframework.data.rest.webmvc.BaseUri;
@@ -29,7 +30,7 @@
2930
import 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

Comments
 (0)