Skip to content

Commit be98ae9

Browse files
committed
api: Remove obsolete TODO in EquivalentAddressGroup#toString
1 parent 228fc8e commit be98ae9

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

api/src/main/java/io/grpc/EquivalentAddressGroup.java

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -113,7 +113,9 @@ public Attributes getAttributes() {
113113

114114
@Override
115115
public String toString() {
116-
// TODO(zpencer): Summarize return value if addr is very large
116+
// EquivalentAddressGroup is intended to contain a small number of addresses for the same endpoint
117+
// (e.g., IPv4/IPv6). Aggregating many groups into a single EquivalentAddressGroup is no longer done,
118+
// so this no longer needs summarization.
117119
return "[" + addrs + "/" + attrs + "]";
118120
}
119121

0 commit comments

Comments
 (0)