diff --git a/api/src/main/java/io/opencensus/metrics/DerivedDoubleCumulative.java b/api/src/main/java/io/opencensus/metrics/DerivedDoubleCumulative.java index 3674f175b1..68c240eb33 100644 --- a/api/src/main/java/io/opencensus/metrics/DerivedDoubleCumulative.java +++ b/api/src/main/java/io/opencensus/metrics/DerivedDoubleCumulative.java @@ -28,8 +28,7 @@ /** * Derived Double Cumulative metric, to report cumulative measurement of a double value. Cumulative - * values can go up or stay the same, but can never go down. The cumulative values cannot be - * negative. + * values can go up or stay the same, but can never go down. Cumulative values cannot be negative. * *
Example: Create a Cumulative with an object and a callback function. * diff --git a/api/src/main/java/io/opencensus/metrics/DerivedLongCumulative.java b/api/src/main/java/io/opencensus/metrics/DerivedLongCumulative.java index 234fc902d1..b1f192f4fc 100644 --- a/api/src/main/java/io/opencensus/metrics/DerivedLongCumulative.java +++ b/api/src/main/java/io/opencensus/metrics/DerivedLongCumulative.java @@ -28,8 +28,7 @@ /** * Derived Long Cumulative metric, to report cumulative measurement of an int64 value. Cumulative - * values can go up or stay the same, but can never go down. The cumulative values cannot be - * negative. + * values can go up or stay the same, but can never go down. Cumulative values cannot be negative. * *
Example: Create a Cumulative with an object and a callback function. * diff --git a/api/src/main/java/io/opencensus/metrics/DoubleCumulative.java b/api/src/main/java/io/opencensus/metrics/DoubleCumulative.java index f5a84b4bf2..1fc7942c59 100644 --- a/api/src/main/java/io/opencensus/metrics/DoubleCumulative.java +++ b/api/src/main/java/io/opencensus/metrics/DoubleCumulative.java @@ -22,8 +22,7 @@ /** * Double Cumulative metric, to report instantaneous measurement of a double value. Cumulative - * values can go up or stay the same, but can never go down. The cumulative values cannot be - * negative. + * values can go up or stay the same, but can never go down. Cumulative values cannot be negative. * *
Example 1: Create a Cumulative with default labels. * diff --git a/api/src/main/java/io/opencensus/metrics/LongCumulative.java b/api/src/main/java/io/opencensus/metrics/LongCumulative.java index 76ef079fa8..e2a15a7c9a 100644 --- a/api/src/main/java/io/opencensus/metrics/LongCumulative.java +++ b/api/src/main/java/io/opencensus/metrics/LongCumulative.java @@ -22,7 +22,7 @@ /** * Long Cumulative metric, to report instantaneous measurement of an int64 value. Cumulative values - * can go up or stay the same, but can never go down. The cumulative values cannot be negative. + * can go up or stay the same, but can never go down. Cumulative values cannot be negative. * *
Example 1: Create a Cumulative with default labels. * diff --git a/api/src/main/java/io/opencensus/metrics/MetricRegistry.java b/api/src/main/java/io/opencensus/metrics/MetricRegistry.java index 649d39200a..a0be194c88 100644 --- a/api/src/main/java/io/opencensus/metrics/MetricRegistry.java +++ b/api/src/main/java/io/opencensus/metrics/MetricRegistry.java @@ -50,8 +50,8 @@ public LongGauge addLongGauge( } /** - * Builds a new long gauge to be added to the registry. This is more convenient form when you want - * to manually increase and decrease values as per your service requirements. + * Builds a new long gauge to be added to the registry. This is a more convenient form when you + * want to manually increase and decrease values as per your service requirements. * * @param name the name of the metric. * @param options the options for the metric. @@ -82,7 +82,7 @@ public DoubleGauge addDoubleGauge( } /** - * Builds a new double gauge to be added to the registry. This is more convenient form when you + * Builds a new double gauge to be added to the registry. This is a more convenient form when you * want to manually increase and decrease values as per your service requirements. * * @param name the name of the metric. @@ -114,8 +114,8 @@ public DerivedLongGauge addDerivedLongGauge( } /** - * Builds a new derived long gauge to be added to the registry. This is more convenient form when - * you want to define a gauge by executing a {@link ToLongFunction} on an object. + * Builds a new derived long gauge to be added to the registry. This is a more convenient form + * when you want to define a gauge by executing a {@link ToLongFunction} on an object. * * @param name the name of the metric. * @param options the options for the metric. @@ -146,7 +146,7 @@ public DerivedDoubleGauge addDerivedDoubleGauge( } /** - * Builds a new derived double gauge to be added to the registry. This is more convenient form + * Builds a new derived double gauge to be added to the registry. This is a more convenient form * when you want to define a gauge by executing a {@link ToDoubleFunction} on an object. * * @param name the name of the metric. @@ -160,8 +160,8 @@ public DerivedDoubleGauge addDerivedDoubleGauge( public abstract DerivedDoubleGauge addDerivedDoubleGauge(String name, MetricOptions options); /** - * Builds a new long cumulative to be added to the registry. This is more convenient form when you - * want to manually increase values as per your service requirements. + * Builds a new long cumulative to be added to the registry. This is a more convenient form when + * you want to manually increase values as per your service requirements. * * @param name the name of the metric. * @param options the options for the metric. @@ -174,7 +174,7 @@ public DerivedDoubleGauge addDerivedDoubleGauge( public abstract LongCumulative addLongCumulative(String name, MetricOptions options); /** - * Builds a new double cumulative to be added to the registry. This is more convenient form when + * Builds a new double cumulative to be added to the registry. This is a more convenient form when * you want to manually increase values as per your service requirements. * * @param name the name of the metric. @@ -188,8 +188,8 @@ public DerivedDoubleGauge addDerivedDoubleGauge( public abstract DoubleCumulative addDoubleCumulative(String name, MetricOptions options); /** - * Builds a new derived long cumulative to be added to the registry. This is more convenient form - * when you want to define a cumulative by executing a {@link ToLongFunction} on an object. + * Builds a new derived long cumulative to be added to the registry. This is a more convenient + * form when you want to define a cumulative by executing a {@link ToLongFunction} on an object. * * @param name the name of the metric. * @param options the options for the metric. @@ -203,7 +203,7 @@ public abstract DerivedLongCumulative addDerivedLongCumulative( String name, MetricOptions options); /** - * Builds a new derived double cumulative to be added to the registry. This is more convenient + * Builds a new derived double cumulative to be added to the registry. This is a more convenient * form when you want to define a cumulative by executing a {@link ToDoubleFunction} on an object. * * @param name the name of the metric.