Skip to content

Commit

Permalink
Polishing.
Browse files Browse the repository at this point in the history
Reduce test class and method visibility.

See #1939
  • Loading branch information
mp911de committed Nov 14, 2024
1 parent a4c462e commit ddb4b2d
Showing 1 changed file with 5 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -28,10 +28,10 @@
* @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")) //
Expand All @@ -43,7 +43,7 @@ public void withCombinesSortAndPaging() {
}

@Test // DATAJDBC-614
public void withCombinesEmptySortAndPaging() {
void withCombinesEmptySortAndPaging() {

Query query = Query.empty() //
.with(PageRequest.of(2, 20, Sort.by("beta")));
Expand All @@ -54,7 +54,7 @@ public void withCombinesEmptySortAndPaging() {
}

@Test // DATAJDBC-614
public void withCombinesSortAndUnsortedPaging() {
void withCombinesSortAndUnsortedPaging() {

Query query = Query.empty() //
.sort(Sort.by("alpha")) //
Expand All @@ -66,7 +66,7 @@ public void withCombinesSortAndUnsortedPaging() {
}

@Test // GH-1939
public void withCombinesUnpagedWithSort() {
void withCombinesUnpagedWithSort() {

Query query = Query.empty() //
.with(Pageable.unpaged(Sort.by("beta")));
Expand Down

0 comments on commit ddb4b2d

Please sign in to comment.