Skip to content

Commit e1d1565

Browse files
committed
Fix ==
1 parent 0b9a0f4 commit e1d1565

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

sdk/metrics/src/main/java/io/opentelemetry/sdk/metrics/internal/state/AsynchronousMetricStorage.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ public static <T> MetricStorage doubleAsynchronousAccumulator(
5757
instrument,
5858
metricDescriptor,
5959
ExemplarFilter.neverSample());
60-
if (Aggregator.empty().equals(aggregator)) {
60+
if (Aggregator.empty() == aggregator) {
6161
return empty();
6262
}
6363
final InstrumentProcessor<T> instrumentProcessor =

0 commit comments

Comments
 (0)