Commit 33d385cf authored by Phillip Webb's avatar Phillip Webb

Use US spelling for "favor"

parent f3fa20b2
...@@ -36,7 +36,7 @@ public class CompositeHealthIndicator implements HealthIndicator { ...@@ -36,7 +36,7 @@ public class CompositeHealthIndicator implements HealthIndicator {
/** /**
* Create a new {@link CompositeHealthIndicator}. * Create a new {@link CompositeHealthIndicator}.
* @param healthAggregator the health aggregator * @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)} * {@link #CompositeHealthIndicator(HealthAggregator, HealthIndicatorRegistry)}
*/ */
@Deprecated @Deprecated
......
...@@ -48,7 +48,7 @@ public class CompositeReactiveHealthIndicator implements ReactiveHealthIndicator ...@@ -48,7 +48,7 @@ public class CompositeReactiveHealthIndicator implements ReactiveHealthIndicator
/** /**
* Create a new {@link CompositeReactiveHealthIndicator}. * Create a new {@link CompositeReactiveHealthIndicator}.
* @param healthAggregator the health aggregator * @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)} * {@link #CompositeReactiveHealthIndicator(HealthAggregator, ReactiveHealthIndicatorRegistry)}
*/ */
@Deprecated @Deprecated
...@@ -62,7 +62,7 @@ public class CompositeReactiveHealthIndicator implements ReactiveHealthIndicator ...@@ -62,7 +62,7 @@ public class CompositeReactiveHealthIndicator implements ReactiveHealthIndicator
* @param healthAggregator the health aggregator * @param healthAggregator the health aggregator
* @param indicators a map of {@link ReactiveHealthIndicator HealthIndicators} with * @param indicators a map of {@link ReactiveHealthIndicator HealthIndicators} with
* the key being used as an indicator name. * 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)} * {@link #CompositeReactiveHealthIndicator(HealthAggregator, ReactiveHealthIndicatorRegistry)}
*/ */
@Deprecated @Deprecated
...@@ -93,7 +93,7 @@ public class CompositeReactiveHealthIndicator implements ReactiveHealthIndicator ...@@ -93,7 +93,7 @@ public class CompositeReactiveHealthIndicator implements ReactiveHealthIndicator
* @return this instance * @return this instance
* @throws IllegalStateException if an indicator with the given {@code name} is * @throws IllegalStateException if an indicator with the given {@code name} is
* already registered. * already registered.
* @deprecated since 2.1.0 in favour of * @deprecated since 2.1.0 in favor of
* {@link ReactiveHealthIndicatorRegistry#register(String, ReactiveHealthIndicator)} * {@link ReactiveHealthIndicatorRegistry#register(String, ReactiveHealthIndicator)}
*/ */
@Deprecated @Deprecated
......
...@@ -53,7 +53,7 @@ public class MetricsWebFilter implements WebFilter { ...@@ -53,7 +53,7 @@ public class MetricsWebFilter implements WebFilter {
* @param registry the registry to which metrics are recorded * @param registry the registry to which metrics are recorded
* @param tagsProvider provider for metrics tags * @param tagsProvider provider for metrics tags
* @param metricName name of the metric to record * @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)} * {@link #MetricsWebFilter(MeterRegistry, WebFluxTagsProvider, String, boolean)}
*/ */
@Deprecated @Deprecated
......
...@@ -59,7 +59,7 @@ public class DiskSpaceHealthIndicator extends AbstractHealthIndicator { ...@@ -59,7 +59,7 @@ public class DiskSpaceHealthIndicator extends AbstractHealthIndicator {
* Create a new {@code DiskSpaceHealthIndicator} instance. * Create a new {@code DiskSpaceHealthIndicator} instance.
* @param path the Path used to compute the available disk space * @param path the Path used to compute the available disk space
* @param threshold the minimum disk space that should be available (in bytes) * @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)} * {@link #DiskSpaceHealthIndicator(File, DataSize)}
*/ */
@Deprecated @Deprecated
......
...@@ -517,7 +517,7 @@ public class RestTemplateBuilder { ...@@ -517,7 +517,7 @@ public class RestTemplateBuilder {
* {@link ClientHttpRequestFactory}. * {@link ClientHttpRequestFactory}.
* @param readTimeout the read timeout in milliseconds * @param readTimeout the read timeout in milliseconds
* @return a new builder instance. * @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 @Deprecated
public RestTemplateBuilder setReadTimeout(int readTimeout) { public RestTemplateBuilder setReadTimeout(int readTimeout) {
......
...@@ -57,7 +57,7 @@ public class MultipartConfigFactory { ...@@ -57,7 +57,7 @@ public class MultipartConfigFactory {
/** /**
* Sets the maximum size in bytes allowed for uploaded files. * Sets the maximum size in bytes allowed for uploaded files.
* @param maxFileSize the maximum file 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 @Deprecated
public void setMaxFileSize(long maxFileSize) { public void setMaxFileSize(long maxFileSize) {
...@@ -68,7 +68,7 @@ public class MultipartConfigFactory { ...@@ -68,7 +68,7 @@ public class MultipartConfigFactory {
* Sets the maximum size allowed for uploaded files. Values can use the suffixed "MB" * Sets the maximum size allowed for uploaded files. Values can use the suffixed "MB"
* or "KB" to indicate a Megabyte or Kilobyte size. * or "KB" to indicate a Megabyte or Kilobyte size.
* @param maxFileSize the maximum file 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 @Deprecated
public void setMaxFileSize(String maxFileSize) { public void setMaxFileSize(String maxFileSize) {
...@@ -86,7 +86,7 @@ public class MultipartConfigFactory { ...@@ -86,7 +86,7 @@ public class MultipartConfigFactory {
/** /**
* Sets the maximum size allowed in bytes for multipart/form-data requests. * Sets the maximum size allowed in bytes for multipart/form-data requests.
* @param maxRequestSize the maximum request 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 @Deprecated
public void setMaxRequestSize(long maxRequestSize) { public void setMaxRequestSize(long maxRequestSize) {
...@@ -97,7 +97,7 @@ public class MultipartConfigFactory { ...@@ -97,7 +97,7 @@ public class MultipartConfigFactory {
* Sets the maximum size allowed for multipart/form-data requests. Values can use the * 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. * suffixed "MB" or "KB" to indicate a Megabyte or Kilobyte size.
* @param maxRequestSize the maximum request 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 @Deprecated
public void setMaxRequestSize(String maxRequestSize) { public void setMaxRequestSize(String maxRequestSize) {
...@@ -115,7 +115,7 @@ public class MultipartConfigFactory { ...@@ -115,7 +115,7 @@ public class MultipartConfigFactory {
/** /**
* Sets the size threshold in bytes after which files will be written to disk. * Sets the size threshold in bytes after which files will be written to disk.
* @param fileSizeThreshold the file size threshold * @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 @Deprecated
public void setFileSizeThreshold(int fileSizeThreshold) { public void setFileSizeThreshold(int fileSizeThreshold) {
...@@ -126,7 +126,7 @@ public class MultipartConfigFactory { ...@@ -126,7 +126,7 @@ public class MultipartConfigFactory {
* Sets the size threshold after which files will be written to disk. Values can use * 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. * the suffixed "MB" or "KB" to indicate a Megabyte or Kilobyte size.
* @param fileSizeThreshold the file size threshold * @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 @Deprecated
public void setFileSizeThreshold(String fileSizeThreshold) { public void setFileSizeThreshold(String fileSizeThreshold) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment