#806 - Fixed package cycle between hateoas and hateoas.core packages.

Moved AffordanceModelFactory to the library's root package. Moved Kotlin extensions to hateoas.mvc package.

Added an ArchUnit based test for package cycles.
This commit is contained in:
Oliver Drotbohm
2019-02-11 14:43:24 +01:00
parent e794bf873a
commit aca2cc578a
15 changed files with 79 additions and 22 deletions

View File

@@ -21,10 +21,10 @@ import java.util.List;
import org.springframework.core.ResolvableType;
import org.springframework.hateoas.AffordanceModel;
import org.springframework.hateoas.AffordanceModelFactory;
import org.springframework.hateoas.Link;
import org.springframework.hateoas.MediaTypes;
import org.springframework.hateoas.QueryParameter;
import org.springframework.hateoas.core.AffordanceModelFactory;
import org.springframework.http.HttpMethod;
import org.springframework.http.MediaType;