Consistent use of @deprecated since

See gh-25808
pull/26093/head
Andy Wilkinson 4 years ago
parent 26dd1b9a26
commit 8b6eef6f1d

@ -110,7 +110,7 @@ public class CachingOperationInvoker implements OperationInvoker {
* @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
* required
* @deprecated as of 2.3 to make package-private in 2.4
* @deprecated since 2.3 for removal in 2.5
*/
@Deprecated
public static OperationInvoker apply(OperationInvoker invoker, long timeToLive) {

@ -25,7 +25,7 @@ import org.elasticsearch.client.RestClientBuilder;
*
* @author Brian Clozel
* @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}
*/
@FunctionalInterface

Loading…
Cancel
Save