We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5a54372 commit ebc9addCopy full SHA for ebc9add
api/src/main/java/io/grpc/LoadBalancer.java
@@ -855,9 +855,11 @@ public String toString() {
855
@ExperimentalApi("https://github.com/grpc/grpc-java/issues/1771")
856
public static final class Builder {
857
858
+ private static final Object[][] EMPTY_CUSTOM_OPTIONS = new Object[0][2];
859
+
860
private List<EquivalentAddressGroup> addrs;
861
private Attributes attrs = Attributes.EMPTY;
- private Object[][] customOptions = new Object[0][2];
862
+ private Object[][] customOptions = EMPTY_CUSTOM_OPTIONS;
863
864
Builder() {
865
}
0 commit comments