Delete the old ClientCall.cancel().
It's deprecated since 0.14.0.
diff --git a/core/src/main/java/io/grpc/ClientCall.java b/core/src/main/java/io/grpc/ClientCall.java
index 4bc3999..47bb878 100644
--- a/core/src/main/java/io/grpc/ClientCall.java
+++ b/core/src/main/java/io/grpc/ClientCall.java
@@ -160,17 +160,6 @@
public abstract void request(int numMessages);
/**
- * Equivalent as {@link #cancel(String, Throwable)} without passing any useful information.
- *
- * @deprecated Use or override {@link #cancel(String, Throwable)} instead. See
- * https://github.com/grpc/grpc-java/issues/1221
- */
- @Deprecated
- public void cancel() {
- cancel("Cancelled by ClientCall.cancel()", null);
- }
-
- /**
* Prevent any further processing for this {@code ClientCall}. No further messages may be sent or
* will be received. The server is informed of cancellations, but may not stop processing the
* call. Cancellation is permitted if previously {@link #halfClose}d. Cancelling an already {@code
diff --git a/core/src/main/java/io/grpc/ForwardingClientCall.java b/core/src/main/java/io/grpc/ForwardingClientCall.java
index 3f1dd61..88b0298 100644
--- a/core/src/main/java/io/grpc/ForwardingClientCall.java
+++ b/core/src/main/java/io/grpc/ForwardingClientCall.java
@@ -52,12 +52,6 @@
delegate().request(numMessages);
}
- @Deprecated
- @Override
- public void cancel() {
- delegate().cancel();
- }
-
@Override
public void cancel(@Nullable String message, @Nullable Throwable cause) {
delegate().cancel(message, cause);