Replace 'via' with 'over' or 'through' in the documentation
Closes gh-33878
This commit is contained in:
@@ -22,7 +22,7 @@ import org.springframework.context.annotation.Configuration;
|
||||
|
||||
/**
|
||||
* Configuration for a factory bean produced by a bean method on a configuration class
|
||||
* found via component scanning.
|
||||
* found through component scanning.
|
||||
*
|
||||
* @author Andy Wilkinson
|
||||
*/
|
||||
|
||||
@@ -21,7 +21,7 @@ import org.springframework.context.annotation.Configuration;
|
||||
|
||||
/**
|
||||
* Configuration for a factory bean produced by a bean method with arguments on a
|
||||
* configuration class found via component scanning.
|
||||
* configuration class found through component scanning.
|
||||
*
|
||||
* @author Andy Wilkinson
|
||||
*/
|
||||
|
||||
@@ -337,8 +337,7 @@ class WebFluxAutoConfigurationTests {
|
||||
assertThat(context.getBean("webFluxValidator"))
|
||||
.isSameAs(context.getBean(ValidatorWebFluxConfigurer.class).validator);
|
||||
// Primary Spring validator is the auto-configured one as the WebFlux
|
||||
// one has been
|
||||
// customized via a WebFluxConfigurer
|
||||
// one has been customized through a WebFluxConfigurer
|
||||
assertThat(context.getBean(Validator.class)).isEqualTo(context.getBean("defaultValidator"));
|
||||
});
|
||||
}
|
||||
|
||||
@@ -760,7 +760,7 @@ class WebMvcAutoConfigurationTests {
|
||||
assertThat(context).getBeanNames(Validator.class).containsOnly("defaultValidator", "mvcValidator");
|
||||
assertThat(context.getBean("mvcValidator")).isSameAs(context.getBean(MvcValidator.class).validator);
|
||||
// Primary Spring validator is the auto-configured one as the MVC one
|
||||
// has been customized via a WebMvcConfigurer
|
||||
// has been customized through a WebMvcConfigurer
|
||||
assertThat(context.getBean(Validator.class)).isEqualTo(context.getBean("defaultValidator"));
|
||||
});
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user