Skip to content

Commit

Permalink
Suppress irrelevant warning
Browse files Browse the repository at this point in the history
  • Loading branch information
larry-safran committed Jan 6, 2024
1 parent 1285181 commit df4b4d3
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -286,6 +286,7 @@ private String addressesOnlyString(EquivalentAddressGroup eag) {
return "[" + withoutAttrs.replaceAll("[\\[\\]]", "") + "]";
}

@SuppressWarnings("MixedMutabilityReturnType")
private List<LoadBalancer.Subchannel> getList(LoadBalancer.SubchannelPicker picker) {
if (picker instanceof LoadBalancer.FixedResultPicker) {
LoadBalancer.Subchannel subchannel = picker.pickSubchannel(null).getSubchannel();
Expand Down

0 comments on commit df4b4d3

Please sign in to comment.