Skip to content

Commit 724cd84

Browse files
committed
add nullable annotation to trailersFromThrowable
1 parent 92e7fd3 commit 724cd84

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

api/src/main/java/io/grpc/Status.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -413,6 +413,7 @@ public static Status fromThrowable(Throwable t) {
413413
*
414414
* @return the trailers or {@code null} if not found.
415415
*/
416+
@Nullable
416417
@ExperimentalApi("https://github.com/grpc/grpc-java/issues/4683")
417418
public static Metadata trailersFromThrowable(Throwable t) {
418419
Throwable cause = checkNotNull(t, "t");

0 commit comments

Comments
 (0)