Skip to content

Commit 409b451

Browse files
authored
Add missing Javadoc and fix typos. (census-instrumentation#1874)
* Doc: Add a missing javadoc. * Fix some typos.
1 parent 75c93eb commit 409b451

File tree

2 files changed

+8
-3
lines changed

2 files changed

+8
-3
lines changed

api/src/main/java/io/opencensus/metrics/MetricOptions.java

+5
Original file line numberDiff line numberDiff line change
@@ -89,6 +89,11 @@ public static Builder builder() {
8989
.setConstantLabels(Collections.<LabelKey, LabelValue>emptyMap());
9090
}
9191

92+
/**
93+
* Builder for {@link MetricOptions}.
94+
*
95+
* @since 0.20
96+
*/
9297
@AutoValue.Builder
9398
public abstract static class Builder {
9499

benchmarks/src/jmh/java/io/opencensus/benchmarks/trace/SpanOperationsBenchmark.java

+3-3
Original file line numberDiff line numberDiff line change
@@ -84,9 +84,9 @@ public static class Data {
8484
public void setup() {
8585
tracer = BenchmarksUtil.getTracer(implementation);
8686
attributeSpan = createSpan("Attribute");
87-
annotationSpanEmpty = createSpan("AnnotaionSpanEmpty");
88-
annotationSpanAttributes = createSpan("AnnotaionSpanAttributes");
89-
annotationSpanAnnotation = createSpan("AnnotaionSpanAnnotation");
87+
annotationSpanEmpty = createSpan("AnnotationSpanEmpty");
88+
annotationSpanAttributes = createSpan("AnnotationSpanAttributes");
89+
annotationSpanAnnotation = createSpan("AnnotationSpanAnnotation");
9090
messageEventSpan = createSpan("MessageEventSpan");
9191
linkSpan = createSpan("LinkSpan");
9292
initAttributes();

0 commit comments

Comments
 (0)