Skip to content

Commit 390b483

Browse files
committed
Remove toString() implementations
1 parent 30da358 commit 390b483

File tree

1 file changed

+0
-8
lines changed

1 file changed

+0
-8
lines changed

xds/src/test/java/io/grpc/xds/WeightedRoundRobinLoadBalancerTest.java

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1240,10 +1240,6 @@ private void verifyLongCounterRecord(String name, int times, long value) {
12401240
public boolean matches(LongCounterMetricInstrument longCounterInstrument) {
12411241
return longCounterInstrument.getName().equals(name);
12421242
}
1243-
1244-
public String toString() {
1245-
return name;
1246-
}
12471243
}), eq(value), eq(Lists.newArrayList("")), eq(Lists.newArrayList("")));
12481244
}
12491245

@@ -1256,10 +1252,6 @@ private void verifyDoubleHistogramRecord(String name, int times, double value) {
12561252
public boolean matches(DoubleHistogramMetricInstrument doubleHistogramInstrument) {
12571253
return doubleHistogramInstrument.getName().equals(name);
12581254
}
1259-
1260-
public String toString() {
1261-
return name;
1262-
}
12631255
}), eq(value), eq(Lists.newArrayList("")), eq(Lists.newArrayList("")));
12641256
}
12651257

0 commit comments

Comments
 (0)