diff --git a/spring-boot-project/spring-boot-actuator/src/main/java/org/springframework/boot/actuate/health/CompositeHealthIndicator.java b/spring-boot-project/spring-boot-actuator/src/main/java/org/springframework/boot/actuate/health/CompositeHealthIndicator.java index 999b57128a..bbfa61ddc4 100644 --- a/spring-boot-project/spring-boot-actuator/src/main/java/org/springframework/boot/actuate/health/CompositeHealthIndicator.java +++ b/spring-boot-project/spring-boot-actuator/src/main/java/org/springframework/boot/actuate/health/CompositeHealthIndicator.java @@ -36,7 +36,7 @@ public class CompositeHealthIndicator implements HealthIndicator { /** * Create a new {@link CompositeHealthIndicator}. * @param healthAggregator the health aggregator - * @deprecated since 2.1.0 in favour of + * @deprecated since 2.1.0 in favor of * {@link #CompositeHealthIndicator(HealthAggregator, HealthIndicatorRegistry)} */ @Deprecated diff --git a/spring-boot-project/spring-boot-actuator/src/main/java/org/springframework/boot/actuate/health/CompositeReactiveHealthIndicator.java b/spring-boot-project/spring-boot-actuator/src/main/java/org/springframework/boot/actuate/health/CompositeReactiveHealthIndicator.java index 756f82a92c..007f454fcf 100644 --- a/spring-boot-project/spring-boot-actuator/src/main/java/org/springframework/boot/actuate/health/CompositeReactiveHealthIndicator.java +++ b/spring-boot-project/spring-boot-actuator/src/main/java/org/springframework/boot/actuate/health/CompositeReactiveHealthIndicator.java @@ -48,7 +48,7 @@ public class CompositeReactiveHealthIndicator implements ReactiveHealthIndicator /** * Create a new {@link CompositeReactiveHealthIndicator}. * @param healthAggregator the health aggregator - * @deprecated since 2.1.0 in favour of + * @deprecated since 2.1.0 in favor of * {@link #CompositeReactiveHealthIndicator(HealthAggregator, ReactiveHealthIndicatorRegistry)} */ @Deprecated @@ -62,7 +62,7 @@ public class CompositeReactiveHealthIndicator implements ReactiveHealthIndicator * @param healthAggregator the health aggregator * @param indicators a map of {@link ReactiveHealthIndicator HealthIndicators} with * the key being used as an indicator name. - * @deprecated since 2.1.0 in favour of + * @deprecated since 2.1.0 in favor of * {@link #CompositeReactiveHealthIndicator(HealthAggregator, ReactiveHealthIndicatorRegistry)} */ @Deprecated @@ -93,7 +93,7 @@ public class CompositeReactiveHealthIndicator implements ReactiveHealthIndicator * @return this instance * @throws IllegalStateException if an indicator with the given {@code name} is * already registered. - * @deprecated since 2.1.0 in favour of + * @deprecated since 2.1.0 in favor of * {@link ReactiveHealthIndicatorRegistry#register(String, ReactiveHealthIndicator)} */ @Deprecated diff --git a/spring-boot-project/spring-boot-actuator/src/main/java/org/springframework/boot/actuate/metrics/web/reactive/server/MetricsWebFilter.java b/spring-boot-project/spring-boot-actuator/src/main/java/org/springframework/boot/actuate/metrics/web/reactive/server/MetricsWebFilter.java index e2c3e3bc55..75a0c8e9c8 100644 --- a/spring-boot-project/spring-boot-actuator/src/main/java/org/springframework/boot/actuate/metrics/web/reactive/server/MetricsWebFilter.java +++ b/spring-boot-project/spring-boot-actuator/src/main/java/org/springframework/boot/actuate/metrics/web/reactive/server/MetricsWebFilter.java @@ -53,7 +53,7 @@ public class MetricsWebFilter implements WebFilter { * @param registry the registry to which metrics are recorded * @param tagsProvider provider for metrics tags * @param metricName name of the metric to record - * @deprecated since 2.0.6 in favour of + * @deprecated since 2.0.6 in favor of * {@link #MetricsWebFilter(MeterRegistry, WebFluxTagsProvider, String, boolean)} */ @Deprecated diff --git a/spring-boot-project/spring-boot-actuator/src/main/java/org/springframework/boot/actuate/system/DiskSpaceHealthIndicator.java b/spring-boot-project/spring-boot-actuator/src/main/java/org/springframework/boot/actuate/system/DiskSpaceHealthIndicator.java index 8d478c7381..0a0e20a1a9 100644 --- a/spring-boot-project/spring-boot-actuator/src/main/java/org/springframework/boot/actuate/system/DiskSpaceHealthIndicator.java +++ b/spring-boot-project/spring-boot-actuator/src/main/java/org/springframework/boot/actuate/system/DiskSpaceHealthIndicator.java @@ -59,7 +59,7 @@ public class DiskSpaceHealthIndicator extends AbstractHealthIndicator { * Create a new {@code DiskSpaceHealthIndicator} instance. * @param path the Path used to compute the available disk space * @param threshold the minimum disk space that should be available (in bytes) - * @deprecated since 2.1.0 in favour of + * @deprecated since 2.1.0 in favor of * {@link #DiskSpaceHealthIndicator(File, DataSize)} */ @Deprecated diff --git a/spring-boot-project/spring-boot/src/main/java/org/springframework/boot/web/client/RestTemplateBuilder.java b/spring-boot-project/spring-boot/src/main/java/org/springframework/boot/web/client/RestTemplateBuilder.java index 1b0ab4c7c5..8ceb9d680b 100644 --- a/spring-boot-project/spring-boot/src/main/java/org/springframework/boot/web/client/RestTemplateBuilder.java +++ b/spring-boot-project/spring-boot/src/main/java/org/springframework/boot/web/client/RestTemplateBuilder.java @@ -517,7 +517,7 @@ public class RestTemplateBuilder { * {@link ClientHttpRequestFactory}. * @param readTimeout the read timeout in milliseconds * @return a new builder instance. - * @deprecated since 2.1.0 in favour of {@link #setReadTimeout(Duration)} + * @deprecated since 2.1.0 in favor of {@link #setReadTimeout(Duration)} */ @Deprecated public RestTemplateBuilder setReadTimeout(int readTimeout) { diff --git a/spring-boot-project/spring-boot/src/main/java/org/springframework/boot/web/servlet/MultipartConfigFactory.java b/spring-boot-project/spring-boot/src/main/java/org/springframework/boot/web/servlet/MultipartConfigFactory.java index d9adc25764..2fdbf2ba2a 100644 --- a/spring-boot-project/spring-boot/src/main/java/org/springframework/boot/web/servlet/MultipartConfigFactory.java +++ b/spring-boot-project/spring-boot/src/main/java/org/springframework/boot/web/servlet/MultipartConfigFactory.java @@ -57,7 +57,7 @@ public class MultipartConfigFactory { /** * Sets the maximum size in bytes allowed for uploaded files. * @param maxFileSize the maximum file size - * @deprecated since 2.1.0 in favour of {@link #setMaxFileSize(DataSize)} + * @deprecated since 2.1.0 in favor of {@link #setMaxFileSize(DataSize)} */ @Deprecated public void setMaxFileSize(long maxFileSize) { @@ -68,7 +68,7 @@ public class MultipartConfigFactory { * Sets the maximum size allowed for uploaded files. Values can use the suffixed "MB" * or "KB" to indicate a Megabyte or Kilobyte size. * @param maxFileSize the maximum file size - * @deprecated since 2.1.0 in favour of {@link #setMaxFileSize(DataSize)} + * @deprecated since 2.1.0 in favor of {@link #setMaxFileSize(DataSize)} */ @Deprecated public void setMaxFileSize(String maxFileSize) { @@ -86,7 +86,7 @@ public class MultipartConfigFactory { /** * Sets the maximum size allowed in bytes for multipart/form-data requests. * @param maxRequestSize the maximum request size - * @deprecated since 2.1.0 in favour of {@link #setMaxRequestSize(DataSize)} + * @deprecated since 2.1.0 in favor of {@link #setMaxRequestSize(DataSize)} */ @Deprecated public void setMaxRequestSize(long maxRequestSize) { @@ -97,7 +97,7 @@ public class MultipartConfigFactory { * Sets the maximum size allowed for multipart/form-data requests. Values can use the * suffixed "MB" or "KB" to indicate a Megabyte or Kilobyte size. * @param maxRequestSize the maximum request size - * @deprecated since 2.1.0 in favour of {@link #setMaxRequestSize(DataSize)} + * @deprecated since 2.1.0 in favor of {@link #setMaxRequestSize(DataSize)} */ @Deprecated public void setMaxRequestSize(String maxRequestSize) { @@ -115,7 +115,7 @@ public class MultipartConfigFactory { /** * Sets the size threshold in bytes after which files will be written to disk. * @param fileSizeThreshold the file size threshold - * @deprecated since 2.1.0 in favour of {@link #setFileSizeThreshold(DataSize)} + * @deprecated since 2.1.0 in favor of {@link #setFileSizeThreshold(DataSize)} */ @Deprecated public void setFileSizeThreshold(int fileSizeThreshold) { @@ -126,7 +126,7 @@ public class MultipartConfigFactory { * Sets the size threshold after which files will be written to disk. Values can use * the suffixed "MB" or "KB" to indicate a Megabyte or Kilobyte size. * @param fileSizeThreshold the file size threshold - * @deprecated since 2.1.0 in favour of {@link #setFileSizeThreshold(DataSize)} + * @deprecated since 2.1.0 in favor of {@link #setFileSizeThreshold(DataSize)} */ @Deprecated public void setFileSizeThreshold(String fileSizeThreshold) {