From 23ce1449991824327fd15427e0d4c1b0cb6c0e3b Mon Sep 17 00:00:00 2001 From: Jens Schulze Date: Thu, 12 Oct 2023 21:49:02 +0200 Subject: [PATCH] remove deprecated method --- .../java/io/vrap/rmf/base/client/ApiHttpClient.java | 13 ------------- 1 file changed, 13 deletions(-) diff --git a/rmf/rmf-java-base/src/main/java/io/vrap/rmf/base/client/ApiHttpClient.java b/rmf/rmf-java-base/src/main/java/io/vrap/rmf/base/client/ApiHttpClient.java index eb3f597ef8c..f3829a8f903 100644 --- a/rmf/rmf-java-base/src/main/java/io/vrap/rmf/base/client/ApiHttpClient.java +++ b/rmf/rmf-java-base/src/main/java/io/vrap/rmf/base/client/ApiHttpClient.java @@ -41,19 +41,6 @@ default public CompletableFuture> execute(final ApiHttpRe return execute(request).thenApply(mapper); } - /** - * @deprecated Will be removed with next major version. Methods will implement - * HttpRequestCommand so {@link #execute(HttpRequestCommand)} will replace this method. - * Custom implementations may need to implement HttpRequestCommand - * @param method command to be executed - * @return future of the response - * @param response type - */ - @Deprecated - default public CompletableFuture> execute(final ClientRequestCommand method) { - return method.execute(this); - } - default public CompletableFuture> execute(final HttpRequestCommand method) { return execute(method.createHttpRequest(), method.resultType()); }