Replace 'via' with 'over' or 'through' in the documentation

Closes gh-33878
This commit is contained in:
Moritz Halbritter
2023-01-18 16:56:42 +01:00
parent b5cebed120
commit e8d809fe65
99 changed files with 146 additions and 135 deletions

View File

@@ -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
*/

View File

@@ -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
*/

View File

@@ -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"));
});
}

View File

@@ -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"));
});
}