This repository was archived by the owner on Dec 23, 2023. It is now read-only.
File tree Expand file tree Collapse file tree
api/src/main/java/io/opencensus/metrics Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -147,14 +147,6 @@ public abstract static class DoublePoint {
147147 * @since 0.21
148148 */
149149 public abstract void add (double delta );
150-
151- /**
152- * Sets the given value.
153- *
154- * @param val the new value.
155- * @since 0.21
156- */
157- public abstract void set (double val );
158150 }
159151
160152 /** No-op implementations of DoubleCumulative class. */
@@ -204,9 +196,6 @@ private NoopDoublePoint() {}
204196
205197 @ Override
206198 public void add (double delta ) {}
207-
208- @ Override
209- public void set (double val ) {}
210199 }
211200 }
212201}
Original file line number Diff line number Diff line change @@ -146,14 +146,6 @@ public abstract static class LongPoint {
146146 * @since 0.21
147147 */
148148 public abstract void add (long delta );
149-
150- /**
151- * Sets the given value.
152- *
153- * @param val the new value.
154- * @since 0.21
155- */
156- public abstract void set (long val );
157149 }
158150
159151 /** No-op implementations of LongCumulative class. */
@@ -199,9 +191,6 @@ private NoopLongPoint() {}
199191
200192 @ Override
201193 public void add (long delta ) {}
202-
203- @ Override
204- public void set (long val ) {}
205194 }
206195 }
207196}
You can’t perform that action at this time.
0 commit comments