Polishing
Closes gh-31522
This commit is contained in:
@@ -511,7 +511,7 @@ public class ConfigurationClassPostProcessor implements BeanDefinitionRegistryPo
|
||||
logger.warn("Cannot enhance @Configuration bean definition '" + beanName +
|
||||
"' since its singleton instance has been created too early. The typical cause " +
|
||||
"is a non-static @Bean method with a BeanDefinitionRegistryPostProcessor " +
|
||||
"return type: Consider declaring such methods as 'static' and/or mark the " +
|
||||
"return type: Consider declaring such methods as 'static' and/or marking the " +
|
||||
"containing configuration class as 'proxyBeanMethods=false'.");
|
||||
}
|
||||
configBeanDefs.put(beanName, abd);
|
||||
|
||||
@@ -240,7 +240,7 @@ public class MethodValidationInterceptor implements MethodInterceptor {
|
||||
ReactiveAdapterRegistry.getSharedInstance();
|
||||
|
||||
|
||||
public static Object[] insertAsyncValidation(
|
||||
static Object[] insertAsyncValidation(
|
||||
Supplier<SpringValidatorAdapter> validatorAdapterSupplier, boolean adaptViolations,
|
||||
Object target, Method method, Object[] arguments) {
|
||||
|
||||
|
||||
@@ -82,7 +82,7 @@ class InstantFormatterTests {
|
||||
|
||||
@ParameterizedTest
|
||||
@ArgumentsSource(RandomEpochMillisProvider.class)
|
||||
void should_parse_into_an_Instant_from_epoch_mili(Instant input) throws ParseException {
|
||||
void should_parse_into_an_Instant_from_epoch_milli(Instant input) throws ParseException {
|
||||
Instant expected = input;
|
||||
|
||||
Instant actual = instantFormatter.parse(Long.toString(input.toEpochMilli()), null);
|
||||
|
||||
@@ -44,7 +44,7 @@ class FormattingConversionServiceRuntimeHintsTests {
|
||||
}
|
||||
|
||||
@Test
|
||||
void montearyAmountHasHints() {
|
||||
void monetaryAmountHasHints() {
|
||||
assertThat(RuntimeHintsPredicates.reflection().onType(javax.money.MonetaryAmount.class)).accepts(this.hints);
|
||||
}
|
||||
|
||||
|
||||
@@ -36,9 +36,11 @@ import org.springframework.validation.method.ParameterErrors;
|
||||
import static org.assertj.core.api.Assertions.assertThat;
|
||||
|
||||
/**
|
||||
* Tests for method validation proxy with reactor.
|
||||
*
|
||||
* @author Rossen Stoyanchev
|
||||
*/
|
||||
public class MethodValidationProxyReactorTests {
|
||||
class MethodValidationProxyReactorTests {
|
||||
|
||||
@Test
|
||||
void validMonoArgument() {
|
||||
|
||||
Reference in New Issue
Block a user