Skip to content

Commit 226b1e5

Browse files
authored
api: Add missing @nullable annotation (#12559)
This simple commit adds a missing but necessary @nullable annotation to `StatusException.getTrailers()`.
1 parent b61a8f4 commit 226b1e5

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

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

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -65,6 +65,7 @@ public final Status getStatus() {
6565
*
6666
* @since 1.0.0
6767
*/
68+
@Nullable
6869
public final Metadata getTrailers() {
6970
return trailers;
7071
}

0 commit comments

Comments
 (0)