Skip to content

Commit 601808e

Browse files
committed
remove code
1 parent b55b8a7 commit 601808e

File tree

2 files changed

+0
-45
lines changed

2 files changed

+0
-45
lines changed

api/all/src/main/java/io/opentelemetry/api/metrics/DefaultMeter.java

Lines changed: 0 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -75,9 +75,6 @@ public void add(long value, Attributes attributes) {}
7575

7676
@Override
7777
public void add(long value) {}
78-
79-
@Override
80-
public void remove(Attributes attributes, Context context) {}
8178
}
8279

8380
private static class NoopDoubleCounter implements DoubleCounter {
@@ -90,8 +87,6 @@ public void add(double value, Attributes attributes) {}
9087
@Override
9188
public void add(double value) {}
9289

93-
@Override
94-
public void remove(Attributes attributes, Context context) {}
9590
}
9691

9792
private static class NoopLongCounterBuilder implements LongCounterBuilder {
@@ -174,8 +169,6 @@ public void add(long value, Attributes attributes) {}
174169
@Override
175170
public void add(long value) {}
176171

177-
@Override
178-
public void remove(Attributes attributes, Context context) {}
179172
}
180173

181174
private static class NoopDoubleUpDownCounter implements DoubleUpDownCounter {
@@ -188,8 +181,6 @@ public void add(double value, Attributes attributes) {}
188181
@Override
189182
public void add(double value) {}
190183

191-
@Override
192-
public void remove(Attributes attributes, Context context) {}
193184
}
194185

195186
private static class NoopLongUpDownCounterBuilder implements LongUpDownCounterBuilder {
@@ -273,9 +264,6 @@ public void record(double value, Attributes attributes) {}
273264

274265
@Override
275266
public void record(double value) {}
276-
277-
@Override
278-
public void remove(Attributes attributes, Context context) {}
279267
}
280268

281269
private static class NoopLongHistogram implements LongHistogram {
@@ -287,9 +275,6 @@ public void record(long value, Attributes attributes) {}
287275

288276
@Override
289277
public void record(long value) {}
290-
291-
@Override
292-
public void remove(Attributes attributes, Context context) {}
293278
}
294279

295280
private static class NoopDoubleHistogramBuilder implements DoubleHistogramBuilder {
@@ -383,9 +368,6 @@ public void set(double value, Attributes attributes) {}
383368

384369
@Override
385370
public void set(double value, Attributes attributes, Context context) {}
386-
387-
@Override
388-
public void remove(Attributes attributes, Context context) {}
389371
}
390372

391373
private static class NoopLongGaugeBuilder implements LongGaugeBuilder {
@@ -427,9 +409,6 @@ public void set(long value, Attributes attributes) {}
427409

428410
@Override
429411
public void set(long value, Attributes attributes, Context context) {}
430-
431-
@Override
432-
public void remove(Attributes attributes, Context context) {}
433412
}
434413

435414
private static class NoopObservableDoubleMeasurement implements ObservableDoubleMeasurement {

api/incubator/src/main/java/io/opentelemetry/api/incubator/metrics/ExtendedDefaultMeter.java

Lines changed: 0 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -107,9 +107,6 @@ public void add(long value, Attributes attributes) {}
107107

108108
@Override
109109
public void add(long value) {}
110-
111-
@Override
112-
public void remove(Attributes attributes, Context context) {}
113110
}
114111

115112
private static class NoopDoubleCounter implements ExtendedDoubleCounter {
@@ -126,9 +123,6 @@ public void add(double value, Attributes attributes) {}
126123

127124
@Override
128125
public void add(double value) {}
129-
130-
@Override
131-
public void remove(Attributes attributes, Context context) {}
132126
}
133127

134128
private static class NoopLongCounterBuilder implements ExtendedLongCounterBuilder {
@@ -215,9 +209,6 @@ public void add(long value, Attributes attributes) {}
215209

216210
@Override
217211
public void add(long value) {}
218-
219-
@Override
220-
public void remove(Attributes attributes, Context context) {}
221212
}
222213

223214
private static class NoopDoubleUpDownCounter implements ExtendedDoubleUpDownCounter {
@@ -234,9 +225,6 @@ public void add(double value, Attributes attributes) {}
234225

235226
@Override
236227
public void add(double value) {}
237-
238-
@Override
239-
public void remove(Attributes attributes, Context context) {}
240228
}
241229

242230
private static class NoopLongUpDownCounterBuilder implements ExtendedLongUpDownCounterBuilder {
@@ -326,9 +314,6 @@ public void record(double value, Attributes attributes) {}
326314

327315
@Override
328316
public void record(double value) {}
329-
330-
@Override
331-
public void remove(Attributes attributes, Context context) {}
332317
}
333318

334319
private static class NoopLongHistogram implements ExtendedLongHistogram {
@@ -345,9 +330,6 @@ public void record(long value, Attributes attributes) {}
345330

346331
@Override
347332
public void record(long value) {}
348-
349-
@Override
350-
public void remove(Attributes attributes, Context context) {}
351333
}
352334

353335
private static class NoopDoubleHistogramBuilder implements ExtendedDoubleHistogramBuilder {
@@ -446,9 +428,6 @@ public void set(double value, Attributes attributes) {}
446428

447429
@Override
448430
public void set(double value, Attributes attributes, Context context) {}
449-
450-
@Override
451-
public void remove(Attributes attributes, Context context) {}
452431
}
453432

454433
private static class NoopLongGaugeBuilder implements ExtendedLongGaugeBuilder {
@@ -495,9 +474,6 @@ public void set(long value, Attributes attributes) {}
495474

496475
@Override
497476
public void set(long value, Attributes attributes, Context context) {}
498-
499-
@Override
500-
public void remove(Attributes attributes, Context context) {}
501477
}
502478

503479
private static class NoopObservableDoubleMeasurement implements ObservableDoubleMeasurement {

0 commit comments

Comments
 (0)