mirror of https://github.com/grpc/grpc-java.git
core: add @CheckReturnValue to Status.
This commit is contained in:
parent
eaca73473c
commit
bcb11b1155
|
|
@ -29,6 +29,7 @@ import java.util.ArrayList;
|
|||
import java.util.Collections;
|
||||
import java.util.List;
|
||||
import java.util.TreeMap;
|
||||
import javax.annotation.CheckReturnValue;
|
||||
import javax.annotation.Nullable;
|
||||
import javax.annotation.concurrent.Immutable;
|
||||
|
||||
|
|
@ -50,6 +51,7 @@ import javax.annotation.concurrent.Immutable;
|
|||
* back out.
|
||||
*/
|
||||
@Immutable
|
||||
@CheckReturnValue
|
||||
public final class Status {
|
||||
|
||||
/**
|
||||
|
|
|
|||
Loading…
Reference in New Issue