Polishing.

Reduce test class and method visibility.

See #1939
This commit is contained in:
Mark Paluch
2024-11-14 11:30:33 +01:00
parent a4c462ec99
commit ddb4b2d7ef

View File

@@ -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")));