mirror of https://github.com/grpc/grpc-java.git
Add `@Nullable` to getter for trailers on `StatusRuntimeException` since the constructors allows it to be null
This commit is contained in:
parent
f9e49e1261
commit
6615f2fc9d
|
|
@ -82,6 +82,7 @@ public class StatusRuntimeException extends RuntimeException {
|
|||
*
|
||||
* @since 1.0.0
|
||||
*/
|
||||
@Nullable
|
||||
public final Metadata getTrailers() {
|
||||
return trailers;
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue