#1021 - Removed explicit depends on to avoid Spring MVC reference in EntityLinksConfiguration.

This commit is contained in:
Oliver Drotbohm
2019-07-30 12:57:48 +02:00
parent 394519d48e
commit b1af903de0

View File

@@ -17,7 +17,6 @@ package org.springframework.hateoas.config;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;
import org.springframework.context.annotation.DependsOn;
import org.springframework.context.annotation.Primary;
import org.springframework.hateoas.server.EntityLinks;
import org.springframework.hateoas.server.core.DelegatingEntityLinks;
@@ -45,7 +44,6 @@ class EntityLinksConfiguration {
@Primary
@Bean
@DependsOn("webMvcEntityLinks")
DelegatingEntityLinks delegatingEntityLinks(PluginRegistry<EntityLinks, Class<?>> entityLinksPluginRegistry) {
return new DelegatingEntityLinks(entityLinksPluginRegistry);
}