Skip to content

Commit 33d385c

Browse files
committed
Use US spelling for "favor"
1 parent f3fa20b commit 33d385c

File tree

6 files changed

+13
-13
lines changed

6 files changed

+13
-13
lines changed

spring-boot-project/spring-boot-actuator/src/main/java/org/springframework/boot/actuate/health/CompositeHealthIndicator.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ public class CompositeHealthIndicator implements HealthIndicator {
3636
/**
3737
* Create a new {@link CompositeHealthIndicator}.
3838
* @param healthAggregator the health aggregator
39-
* @deprecated since 2.1.0 in favour of
39+
* @deprecated since 2.1.0 in favor of
4040
* {@link #CompositeHealthIndicator(HealthAggregator, HealthIndicatorRegistry)}
4141
*/
4242
@Deprecated

spring-boot-project/spring-boot-actuator/src/main/java/org/springframework/boot/actuate/health/CompositeReactiveHealthIndicator.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ public class CompositeReactiveHealthIndicator implements ReactiveHealthIndicator
4848
/**
4949
* Create a new {@link CompositeReactiveHealthIndicator}.
5050
* @param healthAggregator the health aggregator
51-
* @deprecated since 2.1.0 in favour of
51+
* @deprecated since 2.1.0 in favor of
5252
* {@link #CompositeReactiveHealthIndicator(HealthAggregator, ReactiveHealthIndicatorRegistry)}
5353
*/
5454
@Deprecated
@@ -62,7 +62,7 @@ public CompositeReactiveHealthIndicator(HealthAggregator healthAggregator) {
6262
* @param healthAggregator the health aggregator
6363
* @param indicators a map of {@link ReactiveHealthIndicator HealthIndicators} with
6464
* the key being used as an indicator name.
65-
* @deprecated since 2.1.0 in favour of
65+
* @deprecated since 2.1.0 in favor of
6666
* {@link #CompositeReactiveHealthIndicator(HealthAggregator, ReactiveHealthIndicatorRegistry)}
6767
*/
6868
@Deprecated
@@ -93,7 +93,7 @@ public CompositeReactiveHealthIndicator(HealthAggregator healthAggregator,
9393
* @return this instance
9494
* @throws IllegalStateException if an indicator with the given {@code name} is
9595
* already registered.
96-
* @deprecated since 2.1.0 in favour of
96+
* @deprecated since 2.1.0 in favor of
9797
* {@link ReactiveHealthIndicatorRegistry#register(String, ReactiveHealthIndicator)}
9898
*/
9999
@Deprecated

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ public class MetricsWebFilter implements WebFilter {
5353
* @param registry the registry to which metrics are recorded
5454
* @param tagsProvider provider for metrics tags
5555
* @param metricName name of the metric to record
56-
* @deprecated since 2.0.6 in favour of
56+
* @deprecated since 2.0.6 in favor of
5757
* {@link #MetricsWebFilter(MeterRegistry, WebFluxTagsProvider, String, boolean)}
5858
*/
5959
@Deprecated

spring-boot-project/spring-boot-actuator/src/main/java/org/springframework/boot/actuate/system/DiskSpaceHealthIndicator.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ public DiskSpaceHealthIndicator(File path, DataSize threshold) {
5959
* Create a new {@code DiskSpaceHealthIndicator} instance.
6060
* @param path the Path used to compute the available disk space
6161
* @param threshold the minimum disk space that should be available (in bytes)
62-
* @deprecated since 2.1.0 in favour of
62+
* @deprecated since 2.1.0 in favor of
6363
* {@link #DiskSpaceHealthIndicator(File, DataSize)}
6464
*/
6565
@Deprecated

spring-boot-project/spring-boot/src/main/java/org/springframework/boot/web/client/RestTemplateBuilder.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -517,7 +517,7 @@ public RestTemplateBuilder setReadTimeout(Duration readTimeout) {
517517
* {@link ClientHttpRequestFactory}.
518518
* @param readTimeout the read timeout in milliseconds
519519
* @return a new builder instance.
520-
* @deprecated since 2.1.0 in favour of {@link #setReadTimeout(Duration)}
520+
* @deprecated since 2.1.0 in favor of {@link #setReadTimeout(Duration)}
521521
*/
522522
@Deprecated
523523
public RestTemplateBuilder setReadTimeout(int readTimeout) {

spring-boot-project/spring-boot/src/main/java/org/springframework/boot/web/servlet/MultipartConfigFactory.java

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ public void setMaxFileSize(DataSize maxFileSize) {
5757
/**
5858
* Sets the maximum size in bytes allowed for uploaded files.
5959
* @param maxFileSize the maximum file size
60-
* @deprecated since 2.1.0 in favour of {@link #setMaxFileSize(DataSize)}
60+
* @deprecated since 2.1.0 in favor of {@link #setMaxFileSize(DataSize)}
6161
*/
6262
@Deprecated
6363
public void setMaxFileSize(long maxFileSize) {
@@ -68,7 +68,7 @@ public void setMaxFileSize(long maxFileSize) {
6868
* Sets the maximum size allowed for uploaded files. Values can use the suffixed "MB"
6969
* or "KB" to indicate a Megabyte or Kilobyte size.
7070
* @param maxFileSize the maximum file size
71-
* @deprecated since 2.1.0 in favour of {@link #setMaxFileSize(DataSize)}
71+
* @deprecated since 2.1.0 in favor of {@link #setMaxFileSize(DataSize)}
7272
*/
7373
@Deprecated
7474
public void setMaxFileSize(String maxFileSize) {
@@ -86,7 +86,7 @@ public void setMaxRequestSize(DataSize maxRequestSize) {
8686
/**
8787
* Sets the maximum size allowed in bytes for multipart/form-data requests.
8888
* @param maxRequestSize the maximum request size
89-
* @deprecated since 2.1.0 in favour of {@link #setMaxRequestSize(DataSize)}
89+
* @deprecated since 2.1.0 in favor of {@link #setMaxRequestSize(DataSize)}
9090
*/
9191
@Deprecated
9292
public void setMaxRequestSize(long maxRequestSize) {
@@ -97,7 +97,7 @@ public void setMaxRequestSize(long maxRequestSize) {
9797
* Sets the maximum size allowed for multipart/form-data requests. Values can use the
9898
* suffixed "MB" or "KB" to indicate a Megabyte or Kilobyte size.
9999
* @param maxRequestSize the maximum request size
100-
* @deprecated since 2.1.0 in favour of {@link #setMaxRequestSize(DataSize)}
100+
* @deprecated since 2.1.0 in favor of {@link #setMaxRequestSize(DataSize)}
101101
*/
102102
@Deprecated
103103
public void setMaxRequestSize(String maxRequestSize) {
@@ -115,7 +115,7 @@ public void setFileSizeThreshold(DataSize fileSizeThreshold) {
115115
/**
116116
* Sets the size threshold in bytes after which files will be written to disk.
117117
* @param fileSizeThreshold the file size threshold
118-
* @deprecated since 2.1.0 in favour of {@link #setFileSizeThreshold(DataSize)}
118+
* @deprecated since 2.1.0 in favor of {@link #setFileSizeThreshold(DataSize)}
119119
*/
120120
@Deprecated
121121
public void setFileSizeThreshold(int fileSizeThreshold) {
@@ -126,7 +126,7 @@ public void setFileSizeThreshold(int fileSizeThreshold) {
126126
* Sets the size threshold after which files will be written to disk. Values can use
127127
* the suffixed "MB" or "KB" to indicate a Megabyte or Kilobyte size.
128128
* @param fileSizeThreshold the file size threshold
129-
* @deprecated since 2.1.0 in favour of {@link #setFileSizeThreshold(DataSize)}
129+
* @deprecated since 2.1.0 in favor of {@link #setFileSizeThreshold(DataSize)}
130130
*/
131131
@Deprecated
132132
public void setFileSizeThreshold(String fileSizeThreshold) {

0 commit comments

Comments
 (0)