Remove unused method

This commit is contained in:
Carl Mastrangelo 2016-04-01 14:04:55 -07:00
parent f64a02f2ef
commit 5c4ff7ad08
1 changed files with 0 additions and 13 deletions

View File

@ -256,19 +256,6 @@ final class ClientCallImpl<ReqT, RespT> extends ClientCall<ReqT, RespT>
return true; 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 @Override
public void request(int numMessages) { public void request(int numMessages) {
Preconditions.checkState(stream != null, "Not started"); Preconditions.checkState(stream != null, "Not started");