Skip to content

Commit 1d2d9d5

Browse files
committed
Polishing.
Fix missing Javadoc references. See #2454
1 parent 3b31829 commit 1d2d9d5

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

spring-data-rest-core/src/main/java/org/springframework/data/rest/core/config/RepositoryRestConfiguration.java

+4-1
Original file line numberDiff line numberDiff line change
@@ -21,10 +21,13 @@
2121
import java.util.List;
2222

2323
import org.springframework.data.repository.support.Repositories;
24+
import org.springframework.data.rest.core.annotation.RepositoryRestResource;
25+
import org.springframework.data.rest.core.annotation.RestResource;
2426
import org.springframework.data.rest.core.mapping.ExposureConfiguration;
2527
import org.springframework.data.rest.core.mapping.RepositoryDetectionStrategy;
2628
import org.springframework.data.rest.core.mapping.RepositoryDetectionStrategy.RepositoryDetectionStrategies;
2729
import org.springframework.data.rest.core.support.EntityLookup;
30+
import org.springframework.hateoas.LinkRelation;
2831
import org.springframework.hateoas.MediaTypes;
2932
import org.springframework.hateoas.server.LinkRelationProvider;
3033
import org.springframework.hateoas.server.core.AnnotationLinkRelationProvider;
@@ -629,7 +632,7 @@ public boolean exposeRepositoryMethodsByDefault() {
629632
/**
630633
* Sets whether to expose repository methods by default. If this is disabled, CRUD methods must be annotated with
631634
* {@link RestResource} explicitly to expose the default set of resources (opt-in). If this is set to {@literal true}
632-
* (default), repository methods methods are exposed unless explictly annotated with {@link RestResource} and
635+
* (default), repository methods are exposed unless explictly annotated with {@link RestResource} and
633636
* {@link RestResource#exported()} set to {@literal false}.
634637
*
635638
* @since 3.1

0 commit comments

Comments
 (0)