mirror of https://github.com/grpc/grpc-java.git
core: rm unused variable and method
This commit is contained in:
parent
66119463ad
commit
450a983552
|
|
@ -170,11 +170,6 @@ final class DelayedClientTransport implements ManagedClientTransport {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
// TODO: API plumbing to enable retry.
|
|
||||||
private boolean retryEnabled() {
|
|
||||||
return false;
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Caller must call {@code channelExecutor.drain()} outside of lock because this method may
|
* Caller must call {@code channelExecutor.drain()} outside of lock because this method may
|
||||||
* schedule tasks on channelExecutor.
|
* schedule tasks on channelExecutor.
|
||||||
|
|
@ -235,7 +230,6 @@ final class DelayedClientTransport implements ManagedClientTransport {
|
||||||
public final void shutdownNow(Status status) {
|
public final void shutdownNow(Status status) {
|
||||||
shutdown(status);
|
shutdown(status);
|
||||||
Collection<PendingStream> savedPendingStreams;
|
Collection<PendingStream> savedPendingStreams;
|
||||||
Collection<ClientStream> savedUncommittedRetriableStreams;
|
|
||||||
Runnable savedReportTransportTerminated;
|
Runnable savedReportTransportTerminated;
|
||||||
synchronized (lock) {
|
synchronized (lock) {
|
||||||
savedPendingStreams = pendingStreams;
|
savedPendingStreams = pendingStreams;
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue