Commit 8f0db07
authored
api: Avoid allocating empty array in LoadBalancer (grpc#12337)
Use a singleton empty Object array to initialize the customOptions
default in LoadBalancer.Builder.1 parent 0c179e3 commit 8f0db07
1 file changed
+3
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
855 | 855 | | |
856 | 856 | | |
857 | 857 | | |
| 858 | + | |
| 859 | + | |
858 | 860 | | |
859 | 861 | | |
860 | | - | |
| 862 | + | |
861 | 863 | | |
862 | 864 | | |
863 | 865 | | |
| |||
0 commit comments