grpc-java/api
pandaapo 1b94f48dc8
api: Fix CallOptions to be properly `@Immutable` (#9689)
Although CallOptions is annotated by @Immutable, its fields are not
final. So it's not truly immutable, namely not safe for unsynchronized
publication.

This commit adds final to all fields of CallOptions. Using internal
builder class to keep flexibility of constructing CallOptions.

Fixes #9658
2022-11-17 13:11:27 -08:00
..
src api: Fix CallOptions to be properly `@Immutable` (#9689) 2022-11-17 13:11:27 -08:00
BUILD.bazel Use @DoNotCall for static methods in Builders that throw 2021-05-12 10:12:52 -07:00
build.gradle Swap Animalsniffer to Java 8 and Android 19 2022-08-10 12:41:57 -07:00