Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Null check result of
HttpServerBuilder
supplier (#2317)
Null check result of `HttpServerBuilder` supplier Motivation: `DefaultGrpcServerBuilder` invokes a provided Supplier without checking the result for null. A `NullPointerException` will occur, but will not include context about what was null. Modifications: Add `Objects.requireNonNull` check when invoking `Supplier` Result: Better diagnostic for failed Supplier.
- Loading branch information