@@ -194,9 +194,9 @@ void convertsDoubleSum() {
194194
195195 @ Test
196196 void convertHistogram () {
197- Map <String , AttachmentValue > exemplarAttachements = new HashMap <>();
197+ Map <String , AttachmentValue > exemplarAttachments = new HashMap <>();
198198 // TODO - Import opencensus util for a code-dependent test on common exemplar-trace usage.
199- exemplarAttachements .put (
199+ exemplarAttachments .put (
200200 "SpanContext" ,
201201 AttachmentValue .AttachmentValueString .create (
202202 "SpanContext{traceId=TraceId{traceId=00000000000000000000000000000001}, spanId=SpanId{spanId=0000000000000002}, others=stuff}" ));
@@ -226,7 +226,7 @@ void convertHistogram() {
226226 Distribution .Bucket .create (
227227 6 ,
228228 Exemplar .create (
229- 4.0 , Timestamp .fromMillis (1 ), exemplarAttachements )),
229+ 4.0 , Timestamp .fromMillis (1 ), exemplarAttachments )),
230230 Distribution .Bucket .create (2 )))),
231231 Timestamp .fromMillis (2000 ))),
232232 Timestamp .fromMillis (1000 )));
@@ -311,9 +311,9 @@ void convertSummary() {
311311
312312 @ Test
313313 void convertGaugeHistogram () {
314- Map <String , AttachmentValue > exemplarAttachements = new HashMap <>();
314+ Map <String , AttachmentValue > exemplarAttachments = new HashMap <>();
315315 // TODO - Import opencensus util for a code-dependent test on common exemplar-trace usage.
316- exemplarAttachements .put (
316+ exemplarAttachments .put (
317317 "SpanContext" ,
318318 AttachmentValue .AttachmentValueString .create (
319319 "SpanContext{traceId=TraceId{traceId=00000000000000000000000000000001}, spanId=SpanId{spanId=0000000000000002}, others=stuff}" ));
@@ -343,7 +343,7 @@ void convertGaugeHistogram() {
343343 Distribution .Bucket .create (
344344 6 ,
345345 Exemplar .create (
346- 4.0 , Timestamp .fromMillis (1 ), exemplarAttachements )),
346+ 4.0 , Timestamp .fromMillis (1 ), exemplarAttachments )),
347347 Distribution .Bucket .create (2 )))),
348348 Timestamp .fromMillis (2000 ))),
349349 Timestamp .fromMillis (1000 )));
0 commit comments