#1479 - Polishing.

This commit is contained in:
Oliver Drotbohm
2021-02-23 22:48:29 +01:00
parent 580f2d564d
commit f79c3e2f26
2 changed files with 6 additions and 6 deletions

View File

@@ -24,7 +24,7 @@ import org.springframework.util.Assert;
/**
* {@link EntityLinks} implementation that delegates to the {@link EntityLinks} instances registered in the
* {@link PluginRegistry} given on instance creation.
*
*
* @author Oliver Gierke
*/
public class DelegatingEntityLinks extends AbstractEntityLinks {
@@ -33,7 +33,7 @@ public class DelegatingEntityLinks extends AbstractEntityLinks {
/**
* Creates a new {@link DelegatingEntityLinks} using the given {@link PluginRegistry}.
*
*
* @param plugins must not be {@literal null}.
*/
public DelegatingEntityLinks(PluginRegistry<EntityLinks, Class<?>> plugins) {
@@ -60,7 +60,7 @@ public class DelegatingEntityLinks extends AbstractEntityLinks {
return getPluginFor(type).linkFor(type, parameters);
}
/*
/*
* (non-Javadoc)
* @see org.springframework.hateoas.EntityLinks#getLinkToCollectionResource(java.lang.Class)
*/
@@ -69,7 +69,7 @@ public class DelegatingEntityLinks extends AbstractEntityLinks {
return getPluginFor(type).linkToCollectionResource(type);
}
/*
/*
* (non-Javadoc)
* @see org.springframework.hateoas.EntityLinks#getLinkToSingleResource(java.lang.Class, java.lang.Object)
*/
@@ -99,7 +99,7 @@ public class DelegatingEntityLinks extends AbstractEntityLinks {
/**
* Returns the plugin for the given type or throws an {@link IllegalArgumentException} if no delegate
* {@link EntityLinks} can be found.
*
*
* @param type must not be {@literal null}.
* @return
*/

View File

@@ -27,7 +27,7 @@ import org.springframework.web.bind.annotation.RequestMapping;
/**
* Unit tests for {@link DelegatingEntityLinks}.
*
*
* @author Oliver Gierke
*/
class DelegatingEntityLinksUnitTest extends TestUtils {