Fix outdated Javadoc.

Closes #2860
This commit is contained in:
Yanming Zhou
2023-06-16 16:32:56 +08:00
committed by Mark Paluch
parent 9af41c9729
commit 8b86fb8879
7 changed files with 8 additions and 10 deletions

View File

@@ -149,7 +149,7 @@ class PageableHandlerMethodArgumentResolverUnitTests extends PageableDefaultUnit
}
@Test // DATACMNS-477
void returnsNullIfFallbackIsUnpagedAndNoParametersGiven() throws Exception {
void returnsUnpagedIfFallbackIsUnpagedAndNoParametersGiven() throws Exception {
var resolver = getResolver();
resolver.setFallbackPageable(Pageable.unpaged());

View File

@@ -132,7 +132,7 @@ class ReactivePageableHandlerMethodArgumentResolverUnitTests {
}
@Test // DATACMNS-1211
void returnsNullIfFallbackIsUnpagedAndNoParametersGiven() {
void returnsUnpagedIfFallbackIsUnpagedAndNoParametersGiven() {
var resolver = getReactiveResolver();
resolver.setFallbackPageable(Pageable.unpaged());

View File

@@ -55,7 +55,7 @@ class ReactiveSortHandlerMethodArgumentResolverUnitTests {
}
@Test // DATACMNS-1211
void returnsNullForNoDefault() {
void returnsUnsortedForNoDefault() {
assertSupportedAndResolvedTo(getParameterOfMethod("supportedMethod"), Sort.unsorted());
}

View File

@@ -69,7 +69,7 @@ abstract class SortDefaultUnitTests {
}
@Test
void returnsNullForNoDefault() throws Exception {
void returnsUnsortedForNoDefault() throws Exception {
assertSupportedAndResolvedTo(getParameterOfMethod("supportedMethod"), Sort.unsorted());
}

View File

@@ -107,7 +107,7 @@ class SortHandlerMethodArgumentResolverUnitTests extends SortDefaultUnitTests {
}
@Test
void returnsNullForSortParameterSetToNothing() {
void returnsUnsortedForSortParameterSetToNothing() {
var parameter = getParameterOfMethod("supportedMethod");