/*
 * Copyright The OpenTelemetry Authors
 * SPDX-License-Identifier: Apache-2.0
 */

package io.opentelemetry.sdk.metrics.internal.concurrent;

final class JreDoubleAdder implements DoubleAdder {

  private final java.util.concurrent.atomic.DoubleAdder delegate;

  JreDoubleAdder() {
    delegate = new java.util.concurrent.atomic.DoubleAdder();
  }

  @Override
  public void add(double x) {
    delegate.add(x);
  }

  @Override
  public double sum() {
    return delegate.sum();
  }

  @Override
  public void reset() {
    delegate.reset();
  }

  @Override
  public double sumThenReset() {
    return delegate.sumThenReset();
  }

  @Override
  public String toString() {
    return delegate.toString();
  }
}

@@ -138,16 +138,101 @@
 rrent;%0A%0A
+import org.codehaus.mojo.animal_sniffer.IgnoreJRERequirement;%0A%0A@IgnoreJRERequirement%0A
 final cl

Add @IgnoreJRERequirement to JreDoubleAdder (#3973)