Skip to content

Commit

Permalink
Remove toString() implementations
Browse files Browse the repository at this point in the history
  • Loading branch information
temawi committed Apr 26, 2024
1 parent 30da358 commit 390b483
Showing 1 changed file with 0 additions and 8 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -1240,10 +1240,6 @@ private void verifyLongCounterRecord(String name, int times, long value) {
public boolean matches(LongCounterMetricInstrument longCounterInstrument) {
return longCounterInstrument.getName().equals(name);
}

public String toString() {
return name;
}
}), eq(value), eq(Lists.newArrayList("")), eq(Lists.newArrayList("")));
}

Expand All @@ -1256,10 +1252,6 @@ private void verifyDoubleHistogramRecord(String name, int times, double value) {
public boolean matches(DoubleHistogramMetricInstrument doubleHistogramInstrument) {
return doubleHistogramInstrument.getName().equals(name);
}

public String toString() {
return name;
}
}), eq(value), eq(Lists.newArrayList("")), eq(Lists.newArrayList("")));
}

Expand Down

0 comments on commit 390b483

Please sign in to comment.