mirror of https://github.com/grpc/grpc-java.git
core: update issue for Contexts experimental status
This commit is contained in:
parent
5487ea8f54
commit
6c59770a5b
|
|
@ -140,7 +140,7 @@ public class Contexts {
|
||||||
* Returns the {@link Status} of a cancelled context or {@code null} if the context
|
* Returns the {@link Status} of a cancelled context or {@code null} if the context
|
||||||
* is not cancelled.
|
* is not cancelled.
|
||||||
*/
|
*/
|
||||||
@ExperimentalApi("https://github.com/grpc/grpc-java/issues/1705")
|
@ExperimentalApi("https://github.com/grpc/grpc-java/issues/1975")
|
||||||
public static Status statusFromCancelled(Context context) {
|
public static Status statusFromCancelled(Context context) {
|
||||||
Preconditions.checkNotNull(context, "context must not be null");
|
Preconditions.checkNotNull(context, "context must not be null");
|
||||||
if (!context.isCancelled()) {
|
if (!context.isCancelled()) {
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue