stub: add @CheckReturnValue to AbstractStub

This commit is contained in:
Grant Oakley 2018-05-04 15:46:34 -07:00 committed by Carl Mastrangelo
parent 2404b25101
commit dbf9bd2158
1 changed files with 2 additions and 0 deletions

View File

@ -29,6 +29,7 @@ import io.grpc.ExperimentalApi;
import io.grpc.ManagedChannelBuilder;
import java.util.concurrent.Executor;
import java.util.concurrent.TimeUnit;
import javax.annotation.CheckReturnValue;
import javax.annotation.Nullable;
import javax.annotation.concurrent.ThreadSafe;
@ -45,6 +46,7 @@ import javax.annotation.concurrent.ThreadSafe;
*/
@ThreadSafe
@DoNotMock
@CheckReturnValue
public abstract class AbstractStub<S extends AbstractStub<S>> {
private final Channel channel;
private final CallOptions callOptions;