Skip to content

Commit ddb4b2d

Browse files
committed
Polishing.
Reduce test class and method visibility. See #1939
1 parent a4c462e commit ddb4b2d

File tree

1 file changed

+5
-5
lines changed
  • spring-data-relational/src/test/java/org/springframework/data/relational/core/query

1 file changed

+5
-5
lines changed

spring-data-relational/src/test/java/org/springframework/data/relational/core/query/QueryUnitTests.java

+5-5
Original file line numberDiff line numberDiff line change
@@ -28,10 +28,10 @@
2828
* @author Jens Schauder
2929
* @author Mark Paluch
3030
*/
31-
public class QueryUnitTests {
31+
class QueryUnitTests {
3232

3333
@Test // DATAJDBC-614
34-
public void withCombinesSortAndPaging() {
34+
void withCombinesSortAndPaging() {
3535

3636
Query query = Query.empty() //
3737
.sort(Sort.by("alpha")) //
@@ -43,7 +43,7 @@ public void withCombinesSortAndPaging() {
4343
}
4444

4545
@Test // DATAJDBC-614
46-
public void withCombinesEmptySortAndPaging() {
46+
void withCombinesEmptySortAndPaging() {
4747

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

5656
@Test // DATAJDBC-614
57-
public void withCombinesSortAndUnsortedPaging() {
57+
void withCombinesSortAndUnsortedPaging() {
5858

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

6868
@Test // GH-1939
69-
public void withCombinesUnpagedWithSort() {
69+
void withCombinesUnpagedWithSort() {
7070

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

0 commit comments

Comments
 (0)