mirror of https://github.com/grpc/grpc-java.git
Remove unused method
This commit is contained in:
parent
f64a02f2ef
commit
5c4ff7ad08
|
|
@ -256,19 +256,6 @@ final class ClientCallImpl<ReqT, RespT> extends ClientCall<ReqT, RespT>
|
|||
return true;
|
||||
}
|
||||
|
||||
/**
|
||||
* Return the remaining amount of nanoseconds before the deadline is reached.
|
||||
*
|
||||
* <p>{@code null} if deadline is not set. Negative value if already expired.
|
||||
*/
|
||||
@Nullable
|
||||
private static Long getRemainingTimeoutNanos(@Nullable Long deadlineNanoTime) {
|
||||
if (deadlineNanoTime == null) {
|
||||
return null;
|
||||
}
|
||||
return deadlineNanoTime - System.nanoTime();
|
||||
}
|
||||
|
||||
@Override
|
||||
public void request(int numMessages) {
|
||||
Preconditions.checkState(stream != null, "Not started");
|
||||
|
|
|
|||
Loading…
Reference in New Issue