From 8c769787121d7e8d6071d285601bb22354d9a0fc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Julien=20B=C3=A9ti?= Date: Thu, 28 Sep 2023 11:37:27 +0200 Subject: [PATCH] 2531 HateoasSortHandlerMethodArgumentResolver should append * to the 'sort' parameter template variable Adding author in header --- .../data/web/HateoasSortHandlerMethodArgumentResolver.java | 1 + .../HateoasPageableHandlerMethodArgumentResolverUnitTests.java | 1 + .../web/HateoasSortHandlerMethodArgumentResolverUnitTests.java | 1 + 3 files changed, 3 insertions(+) diff --git a/src/main/java/org/springframework/data/web/HateoasSortHandlerMethodArgumentResolver.java b/src/main/java/org/springframework/data/web/HateoasSortHandlerMethodArgumentResolver.java index 1ce2c7e8a0..90a3f8ed5b 100644 --- a/src/main/java/org/springframework/data/web/HateoasSortHandlerMethodArgumentResolver.java +++ b/src/main/java/org/springframework/data/web/HateoasSortHandlerMethodArgumentResolver.java @@ -35,6 +35,7 @@ * @author Oliver Gierke * @author Thomas Darimont * @author Nick Williams + * @author Julien Béti */ public class HateoasSortHandlerMethodArgumentResolver extends SortHandlerMethodArgumentResolver implements UriComponentsContributor { diff --git a/src/test/java/org/springframework/data/web/HateoasPageableHandlerMethodArgumentResolverUnitTests.java b/src/test/java/org/springframework/data/web/HateoasPageableHandlerMethodArgumentResolverUnitTests.java index 7c152c6247..5baed1f854 100755 --- a/src/test/java/org/springframework/data/web/HateoasPageableHandlerMethodArgumentResolverUnitTests.java +++ b/src/test/java/org/springframework/data/web/HateoasPageableHandlerMethodArgumentResolverUnitTests.java @@ -28,6 +28,7 @@ * Unit tests for {@link HateoasPageableHandlerMethodArgumentResolver}. * * @author Oliver Gierke + * @author Julien Béti */ class HateoasPageableHandlerMethodArgumentResolverUnitTests extends PageableHandlerMethodArgumentResolverUnitTests { diff --git a/src/test/java/org/springframework/data/web/HateoasSortHandlerMethodArgumentResolverUnitTests.java b/src/test/java/org/springframework/data/web/HateoasSortHandlerMethodArgumentResolverUnitTests.java index bdd13a471b..6906511717 100755 --- a/src/test/java/org/springframework/data/web/HateoasSortHandlerMethodArgumentResolverUnitTests.java +++ b/src/test/java/org/springframework/data/web/HateoasSortHandlerMethodArgumentResolverUnitTests.java @@ -28,6 +28,7 @@ * Unit tests for {@link HateoasSortHandlerMethodArgumentResolver} * * @author Oliver Gierke + * @author Julien Béti */ class HateoasSortHandlerMethodArgumentResolverUnitTests extends SortHandlerMethodArgumentResolverUnitTests {