core: add @CheckReturnValue to CallOptions

This commit is contained in:
Grant Oakley 2018-05-02 15:56:52 -07:00 committed by Carl Mastrangelo
parent aeb61db278
commit 6bf8e0c084
1 changed files with 2 additions and 0 deletions

View File

@ -26,6 +26,7 @@ import java.util.Collections;
import java.util.List;
import java.util.concurrent.Executor;
import java.util.concurrent.TimeUnit;
import javax.annotation.CheckReturnValue;
import javax.annotation.Nullable;
import javax.annotation.concurrent.Immutable;
@ -35,6 +36,7 @@ import javax.annotation.concurrent.Immutable;
* <p>A field that is not set is {@code null}.
*/
@Immutable
@CheckReturnValue
public final class CallOptions {
/**
* A blank {@code CallOptions} that all fields are not set.