From 29a7a3b5aaa9b59553f98b0220d9daf701fe0431 Mon Sep 17 00:00:00 2001 From: Mark Paluch Date: Thu, 14 Nov 2024 11:30:33 +0100 Subject: [PATCH] Polishing. Reduce test class and method visibility. See #1939 --- .../data/relational/core/query/QueryUnitTests.java | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/spring-data-relational/src/test/java/org/springframework/data/relational/core/query/QueryUnitTests.java b/spring-data-relational/src/test/java/org/springframework/data/relational/core/query/QueryUnitTests.java index 97d7493b5..f912a2b5f 100644 --- a/spring-data-relational/src/test/java/org/springframework/data/relational/core/query/QueryUnitTests.java +++ b/spring-data-relational/src/test/java/org/springframework/data/relational/core/query/QueryUnitTests.java @@ -28,10 +28,10 @@ import org.springframework.data.domain.Sort; * @author Jens Schauder * @author Mark Paluch */ -public class QueryUnitTests { +class QueryUnitTests { @Test // DATAJDBC-614 - public void withCombinesSortAndPaging() { + void withCombinesSortAndPaging() { Query query = Query.empty() // .sort(Sort.by("alpha")) // @@ -43,7 +43,7 @@ public class QueryUnitTests { } @Test // DATAJDBC-614 - public void withCombinesEmptySortAndPaging() { + void withCombinesEmptySortAndPaging() { Query query = Query.empty() // .with(PageRequest.of(2, 20, Sort.by("beta"))); @@ -54,7 +54,7 @@ public class QueryUnitTests { } @Test // DATAJDBC-614 - public void withCombinesSortAndUnsortedPaging() { + void withCombinesSortAndUnsortedPaging() { Query query = Query.empty() // .sort(Sort.by("alpha")) // @@ -66,7 +66,7 @@ public class QueryUnitTests { } @Test // GH-1939 - public void withCombinesUnpagedWithSort() { + void withCombinesUnpagedWithSort() { Query query = Query.empty() // .with(Pageable.unpaged(Sort.by("beta")));