From 71f245611e345d7c3f01894f41493a5bf48a6daa Mon Sep 17 00:00:00 2001 From: John Watson Date: Thu, 20 Feb 2020 15:14:41 -0800 Subject: [PATCH] Add the enclosing interface references to remove javadoc errors (#902) --- .../java/io/opentelemetry/sdk/metrics/DoubleCounterSdk.java | 3 ++- .../java/io/opentelemetry/sdk/metrics/DoubleMeasureSdk.java | 3 ++- .../main/java/io/opentelemetry/sdk/metrics/LongCounterSdk.java | 3 ++- .../main/java/io/opentelemetry/sdk/metrics/LongMeasureSdk.java | 3 ++- 4 files changed, 8 insertions(+), 4 deletions(-) diff --git a/sdk/src/main/java/io/opentelemetry/sdk/metrics/DoubleCounterSdk.java b/sdk/src/main/java/io/opentelemetry/sdk/metrics/DoubleCounterSdk.java index 1148de2e401..cfc31aec34a 100644 --- a/sdk/src/main/java/io/opentelemetry/sdk/metrics/DoubleCounterSdk.java +++ b/sdk/src/main/java/io/opentelemetry/sdk/metrics/DoubleCounterSdk.java @@ -54,7 +54,8 @@ BoundInstrument newBinding(Batcher batcher) { return new BoundInstrument(isMonotonic(), batcher); } - static final class BoundInstrument extends AbstractBoundInstrument implements BoundDoubleCounter { + static final class BoundInstrument extends AbstractBoundInstrument + implements DoubleCounter.BoundDoubleCounter { private final boolean monotonic; diff --git a/sdk/src/main/java/io/opentelemetry/sdk/metrics/DoubleMeasureSdk.java b/sdk/src/main/java/io/opentelemetry/sdk/metrics/DoubleMeasureSdk.java index 7cdb7493938..14344f4d565 100644 --- a/sdk/src/main/java/io/opentelemetry/sdk/metrics/DoubleMeasureSdk.java +++ b/sdk/src/main/java/io/opentelemetry/sdk/metrics/DoubleMeasureSdk.java @@ -54,7 +54,8 @@ BoundInstrument newBinding(Batcher batcher) { return new BoundInstrument(isAbsolute(), batcher); } - static final class BoundInstrument extends AbstractBoundInstrument implements BoundDoubleMeasure { + static final class BoundInstrument extends AbstractBoundInstrument + implements DoubleMeasure.BoundDoubleMeasure { private final boolean absolute; diff --git a/sdk/src/main/java/io/opentelemetry/sdk/metrics/LongCounterSdk.java b/sdk/src/main/java/io/opentelemetry/sdk/metrics/LongCounterSdk.java index 52d5edd5fc4..f8f864fa180 100644 --- a/sdk/src/main/java/io/opentelemetry/sdk/metrics/LongCounterSdk.java +++ b/sdk/src/main/java/io/opentelemetry/sdk/metrics/LongCounterSdk.java @@ -54,7 +54,8 @@ BoundInstrument newBinding(Batcher batcher) { return new BoundInstrument(isMonotonic(), batcher); } - static final class BoundInstrument extends AbstractBoundInstrument implements BoundLongCounter { + static final class BoundInstrument extends AbstractBoundInstrument + implements LongCounter.BoundLongCounter { private final boolean monotonic; diff --git a/sdk/src/main/java/io/opentelemetry/sdk/metrics/LongMeasureSdk.java b/sdk/src/main/java/io/opentelemetry/sdk/metrics/LongMeasureSdk.java index 36fbfa55a02..a10cb772907 100644 --- a/sdk/src/main/java/io/opentelemetry/sdk/metrics/LongMeasureSdk.java +++ b/sdk/src/main/java/io/opentelemetry/sdk/metrics/LongMeasureSdk.java @@ -55,7 +55,8 @@ BoundInstrument newBinding(Batcher batcher) { return new BoundInstrument(isAbsolute(), batcher); } - static final class BoundInstrument extends AbstractBoundInstrument implements BoundLongMeasure { + static final class BoundInstrument extends AbstractBoundInstrument + implements LongMeasure.BoundLongMeasure { private final boolean absolute;