Skip to content

Commit e8d809f

Browse files
committed
Replace 'via' with 'over' or 'through' in the documentation
Closes gh-33878
1 parent b5cebed commit e8d809f

File tree

99 files changed

+146
-135
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

99 files changed

+146
-135
lines changed

spring-boot-project/spring-boot-actuator-autoconfigure/src/main/java/org/springframework/boot/actuate/autoconfigure/OnEndpointElementCondition.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,8 +27,8 @@
2727
import org.springframework.core.type.AnnotatedTypeMetadata;
2828

2929
/**
30-
* Base endpoint element condition. An element can be disabled globally via the
31-
* {@code defaults} name or individually via the name of the element.
30+
* Base endpoint element condition. An element can be disabled globally through the
31+
* {@code defaults} name or individually through the name of the element.
3232
*
3333
* @author Stephane Nicoll
3434
* @author Madhura Bhave

spring-boot-project/spring-boot-actuator-autoconfigure/src/main/java/org/springframework/boot/actuate/autoconfigure/endpoint/expose/EndpointExposure.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -25,17 +25,17 @@
2525
public enum EndpointExposure {
2626

2727
/**
28-
* Exposed via JMX endpoint.
28+
* Exposed over a JMX endpoint.
2929
*/
3030
JMX("*"),
3131

3232
/**
33-
* Exposed via a web endpoint.
33+
* Exposed over a web endpoint.
3434
*/
3535
WEB("health"),
3636

3737
/**
38-
* Exposed on Cloud Foundry via `/cloudfoundryapplication`.
38+
* Exposed on Cloud Foundry over `/cloudfoundryapplication`.
3939
* @since 2.6.4
4040
*/
4141
CLOUD_FOUNDRY("*");

spring-boot-project/spring-boot-actuator-autoconfigure/src/main/java/org/springframework/boot/actuate/autoconfigure/metrics/export/prometheus/PrometheusProperties.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -105,7 +105,7 @@ public Pushgateway getPushgateway() {
105105
public static class Pushgateway {
106106

107107
/**
108-
* Enable publishing via a Prometheus Pushgateway.
108+
* Enable publishing over a Prometheus Pushgateway.
109109
*/
110110
private Boolean enabled = false;
111111

spring-boot-project/spring-boot-actuator/src/main/java/org/springframework/boot/actuate/metrics/web/client/MetricsClientHttpRequestInterceptor.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@
3838
import org.springframework.web.util.UriTemplateHandler;
3939

4040
/**
41-
* {@link ClientHttpRequestInterceptor} applied via a
41+
* {@link ClientHttpRequestInterceptor} applied through a
4242
* {@link MetricsRestTemplateCustomizer} to record metrics.
4343
*
4444
* @author Jon Schneider

spring-boot-project/spring-boot-actuator/src/main/java/org/springframework/boot/actuate/metrics/web/reactive/client/MetricsWebClientFilterFunction.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@
3535
import org.springframework.web.reactive.function.client.ExchangeFunction;
3636

3737
/**
38-
* {@link ExchangeFilterFunction} applied via a {@link MetricsWebClientCustomizer} to
38+
* {@link ExchangeFilterFunction} applied through a {@link MetricsWebClientCustomizer} to
3939
* record metrics.
4040
*
4141
* @author Brian Clozel

spring-boot-project/spring-boot-actuator/src/main/java/org/springframework/boot/actuate/web/mappings/MappingDescriptionProvider.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222

2323
/**
2424
* A {@link MappingDescriptionProvider} provides a {@link List} of mapping descriptions
25-
* via implementation-specific introspection of an application context.
25+
* through implementation-specific introspection of an application context.
2626
*
2727
* @author Andy Wilkinson
2828
* @since 2.0.0

spring-boot-project/spring-boot-actuator/src/test/java/org/springframework/boot/actuate/logging/LoggersEndpointWebIntegrationTests.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@
4747
import static org.mockito.Mockito.mock;
4848

4949
/**
50-
* Integration tests for {@link LoggersEndpoint} when exposed via Jersey, Spring MVC, and
50+
* Integration tests for {@link LoggersEndpoint} when exposed over Jersey, Spring MVC, and
5151
* WebFlux.
5252
*
5353
* @author Ben Hale

spring-boot-project/spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/AutoConfiguration.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@
6868
* name will be automatically generated.
6969
* <p>
7070
* The custom name applies only if the {@code @AutoConfiguration} class is picked up
71-
* via component scanning or supplied directly to an
71+
* through component scanning or supplied directly to an
7272
* {@link AnnotationConfigApplicationContext}. If the {@code @AutoConfiguration} class
7373
* is registered as a traditional XML bean definition, the name/id of the bean element
7474
* will take precedence.

spring-boot-project/spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/EnableAutoConfiguration.java

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -49,16 +49,16 @@
4949
* Auto-configuration tries to be as intelligent as possible and will back-away as you
5050
* define more of your own configuration. You can always manually {@link #exclude()} any
5151
* configuration that you never want to apply (use {@link #excludeName()} if you don't
52-
* have access to them). You can also exclude them via the
52+
* have access to them). You can also exclude them through the
5353
* {@code spring.autoconfigure.exclude} property. Auto-configuration is always applied
5454
* after user-defined beans have been registered.
5555
* <p>
5656
* The package of the class that is annotated with {@code @EnableAutoConfiguration},
57-
* usually via {@code @SpringBootApplication}, has specific significance and is often used
58-
* as a 'default'. For example, it will be used when scanning for {@code @Entity} classes.
59-
* It is generally recommended that you place {@code @EnableAutoConfiguration} (if you're
60-
* not using {@code @SpringBootApplication}) in a root package so that all sub-packages
61-
* and classes can be searched.
57+
* usually through {@code @SpringBootApplication}, has specific significance and is often
58+
* used as a 'default'. For example, it will be used when scanning for {@code @Entity}
59+
* classes. It is generally recommended that you place {@code @EnableAutoConfiguration}
60+
* (if you're not using {@code @SpringBootApplication}) in a root package so that all
61+
* sub-packages and classes can be searched.
6262
* <p>
6363
* Auto-configuration classes are regular Spring {@link Configuration @Configuration}
6464
* beans. They are located using {@link ImportCandidates} and the

spring-boot-project/spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/cache/Cache2kBuilderCustomizer.java

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,8 @@
2020

2121
/**
2222
* Callback interface that can be implemented by beans wishing to customize the default
23-
* setup for caches added to the manager via addCaches and for dynamically created caches.
23+
* setup for caches added to the manager through addCaches and for dynamically created
24+
* caches.
2425
*
2526
* @author Jens Wilke
2627
* @author Stephane Nicoll

0 commit comments

Comments
 (0)