aboutsummaryrefslogtreecommitdiffstats
path: root/core
diff options
context:
space:
mode:
authorBogdan Drutu <bdrutu@google.com>2017-03-11 13:15:07 -0800
committerGitHub <noreply@github.com>2017-03-11 13:15:07 -0800
commite18301d172b3667f725615929127be5a65ddd945 (patch)
tree348143c698887590f57c9618043532cd919f182c /core
parent0337f5973b47bff878d2231efa79421189cb423f (diff)
downloadplatform_external_opencensus-java-e18301d172b3667f725615929127be5a65ddd945.tar.gz
platform_external_opencensus-java-e18301d172b3667f725615929127be5a65ddd945.tar.bz2
platform_external_opencensus-java-e18301d172b3667f725615929127be5a65ddd945.zip
Fix checkstyle errors and set severity to warning. (#133)
Diffstat (limited to 'core')
-rw-r--r--core/src/main/java/com/google/instrumentation/stats/DistributionAggregation.java2
-rw-r--r--core/src/main/java/com/google/instrumentation/stats/IntervalAggregationDescriptor.java6
-rw-r--r--core/src/main/java/com/google/instrumentation/stats/StatsContextFactory.java2
-rw-r--r--core/src/main/java/com/google/instrumentation/stats/ViewDescriptor.java2
4 files changed, 6 insertions, 6 deletions
diff --git a/core/src/main/java/com/google/instrumentation/stats/DistributionAggregation.java b/core/src/main/java/com/google/instrumentation/stats/DistributionAggregation.java
index 47f19d5d..0f9e567c 100644
--- a/core/src/main/java/com/google/instrumentation/stats/DistributionAggregation.java
+++ b/core/src/main/java/com/google/instrumentation/stats/DistributionAggregation.java
@@ -21,7 +21,7 @@ import javax.annotation.Nullable;
/**
* An aggregation of data based on distributions.
*
- * <p> A distribution contains summary statistics for a population of values and, optionally, a
+ * <p>A distribution contains summary statistics for a population of values and, optionally, a
* histogram representing the distribution of those values across a specified set of histogram
* buckets, as defined in {@link DistributionAggregationDescriptor#getBucketBoundaries()}.
*
diff --git a/core/src/main/java/com/google/instrumentation/stats/IntervalAggregationDescriptor.java b/core/src/main/java/com/google/instrumentation/stats/IntervalAggregationDescriptor.java
index b6c2dbe6..ada61fb6 100644
--- a/core/src/main/java/com/google/instrumentation/stats/IntervalAggregationDescriptor.java
+++ b/core/src/main/java/com/google/instrumentation/stats/IntervalAggregationDescriptor.java
@@ -26,10 +26,10 @@ public final class IntervalAggregationDescriptor {
/**
* Constructs a new {@link IntervalAggregationDescriptor}.
*
- * <p> The given {@code numSubIntervals} must be in the range [2, 20], see
+ * <p>The given {@code numSubIntervals} must be in the range [2, 20], see
* {@link #getNumSubIntervals()} for more details.
*
- * <p> The given {@code intervalSizes} must have at least one entry.
+ * <p>The given {@code intervalSizes} must have at least one entry.
*/
public static IntervalAggregationDescriptor create(
int numSubIntervals, List<Duration> intervalSizes) {
@@ -56,7 +56,7 @@ public final class IntervalAggregationDescriptor {
/**
* The number of sub intervals.
*
- * <p> The number of internal sub-intervals to use when collecting stats for each interval. The
+ * <p>The number of internal sub-intervals to use when collecting stats for each interval. The
* max error in interval measurements will be approximately 1/getNumSubIntervals()
* (although in practice, this will only be approached in the presence of very large and bursty
* workload changes), and underlying memory usage will be roughly proportional to the value of
diff --git a/core/src/main/java/com/google/instrumentation/stats/StatsContextFactory.java b/core/src/main/java/com/google/instrumentation/stats/StatsContextFactory.java
index 581ca847..1908d84f 100644
--- a/core/src/main/java/com/google/instrumentation/stats/StatsContextFactory.java
+++ b/core/src/main/java/com/google/instrumentation/stats/StatsContextFactory.java
@@ -13,8 +13,8 @@
package com.google.instrumentation.stats;
-import java.io.InputStream;
import java.io.IOException;
+import java.io.InputStream;
/**
* Factory class for {@link StatsContext}.
diff --git a/core/src/main/java/com/google/instrumentation/stats/ViewDescriptor.java b/core/src/main/java/com/google/instrumentation/stats/ViewDescriptor.java
index ae2ccee4..c1226b7a 100644
--- a/core/src/main/java/com/google/instrumentation/stats/ViewDescriptor.java
+++ b/core/src/main/java/com/google/instrumentation/stats/ViewDescriptor.java
@@ -56,7 +56,7 @@ public abstract class ViewDescriptor {
return tagKeys;
}
- /**
+ /**
* Applies the given match function to the underlying data type.
*/
public abstract <T> T match(