Use US spelling for "favor"
This commit is contained in:
parent
f3fa20b2d1
commit
33d385cf7a
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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) {
|
||||
|
|
|
@ -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) {
|
||||
|
|
Loading…
Reference in New Issue