Consistent use of @deprecated since

See gh-25808
This commit is contained in:
Andy Wilkinson 2021-03-30 09:17:00 +01:00
parent 26dd1b9a26
commit 8b6eef6f1d
2 changed files with 2 additions and 2 deletions

View File

@ -110,7 +110,7 @@ public class CachingOperationInvoker implements OperationInvoker {
* @param timeToLive the maximum time in milliseconds that a response can be cached * @param timeToLive the maximum time in milliseconds that a response can be cached
* @return a caching version of the invoker or the original instance if caching is not * @return a caching version of the invoker or the original instance if caching is not
* required * required
* @deprecated as of 2.3 to make package-private in 2.4 * @deprecated since 2.3 for removal in 2.5
*/ */
@Deprecated @Deprecated
public static OperationInvoker apply(OperationInvoker invoker, long timeToLive) { public static OperationInvoker apply(OperationInvoker invoker, long timeToLive) {

View File

@ -25,7 +25,7 @@ import org.elasticsearch.client.RestClientBuilder;
* *
* @author Brian Clozel * @author Brian Clozel
* @since 2.1.0 * @since 2.1.0
* @deprecated as of 2.3.1 for removal in 2.5 in favor of * @deprecated since 2.3.1 for removal in 2.5 in favor of
* {@link org.springframework.boot.autoconfigure.elasticsearch.RestClientBuilderCustomizer} * {@link org.springframework.boot.autoconfigure.elasticsearch.RestClientBuilderCustomizer}
*/ */
@FunctionalInterface @FunctionalInterface