Add `@Nullable` to getter for trailers on `StatusRuntimeException` since the constructors allows it to be null

This commit is contained in:
Mike Kobit 2019-07-03 10:48:59 -05:00 committed by Eric Anderson
parent f9e49e1261
commit 6615f2fc9d
1 changed files with 1 additions and 0 deletions

View File

@ -82,6 +82,7 @@ public class StatusRuntimeException extends RuntimeException {
*
* @since 1.0.0
*/
@Nullable
public final Metadata getTrailers() {
return trailers;
}