Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
fix(grpc): pass OptionalInt.empty() not null
  • Loading branch information
bevzzz committed Mar 18, 2026
commit 9e3cf562ac4cb177886f1172d22745bc0714a69e
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ public class GrpcChannelOptions extends TransportOptions<Metadata> {

public GrpcChannelOptions(String scheme, String host, int port, Map<String, String> headers,
TokenProvider tokenProvider, TrustManagerFactory tmf, Timeout timeout, Proxy proxy) {
this(scheme, host, port, buildMetadata(headers), tokenProvider, tmf, null, timeout, proxy);
this(scheme, host, port, buildMetadata(headers), tokenProvider, tmf, OptionalInt.empty(), timeout, proxy);
}

private GrpcChannelOptions(String scheme, String host, int port, Metadata headers,
Expand Down
Loading