File tree Expand file tree Collapse file tree 9 files changed +287
-64
lines changed
exporters/otlp/profiles/src
main/java/io/opentelemetry/exporter/otlp/profiles
test/java/io/opentelemetry/exporter/otlp/profiles Expand file tree Collapse file tree 9 files changed +287
-64
lines changed Original file line number Diff line number Diff line change @@ -33,15 +33,14 @@ static AttributeUnitMarshaler[] createRepeated(List<AttributeUnitData> items) {
33
33
34
34
AttributeUnitMarshaler [] attributeUnitMarshalers = new AttributeUnitMarshaler [items .size ()];
35
35
items .forEach (
36
- item ->
37
- new Consumer <AttributeUnitData >() {
38
- int index = 0 ;
36
+ new Consumer <AttributeUnitData >() {
37
+ int index = 0 ;
39
38
40
- @ Override
41
- public void accept (AttributeUnitData attributeUnitData ) {
42
- attributeUnitMarshalers [index ++] = AttributeUnitMarshaler .create (attributeUnitData );
43
- }
44
- });
39
+ @ Override
40
+ public void accept (AttributeUnitData attributeUnitData ) {
41
+ attributeUnitMarshalers [index ++] = AttributeUnitMarshaler .create (attributeUnitData );
42
+ }
43
+ });
45
44
return attributeUnitMarshalers ;
46
45
}
47
46
Original file line number Diff line number Diff line change @@ -37,15 +37,14 @@ static FunctionMarshaler[] createRepeated(List<FunctionData> items) {
37
37
38
38
FunctionMarshaler [] functionMarshalers = new FunctionMarshaler [items .size ()];
39
39
items .forEach (
40
- item ->
41
- new Consumer <FunctionData >() {
42
- int index = 0 ;
40
+ new Consumer <FunctionData >() {
41
+ int index = 0 ;
43
42
44
- @ Override
45
- public void accept (FunctionData functionData ) {
46
- functionMarshalers [index ++] = FunctionMarshaler .create (functionData );
47
- }
48
- });
43
+ @ Override
44
+ public void accept (FunctionData functionData ) {
45
+ functionMarshalers [index ++] = FunctionMarshaler .create (functionData );
46
+ }
47
+ });
49
48
return functionMarshalers ;
50
49
}
51
50
Original file line number Diff line number Diff line change @@ -32,15 +32,14 @@ static LineMarshaler[] createRepeated(List<LineData> items) {
32
32
33
33
LineMarshaler [] lineMarshalers = new LineMarshaler [items .size ()];
34
34
items .forEach (
35
- item ->
36
- new Consumer <LineData >() {
37
- int index = 0 ;
35
+ new Consumer <LineData >() {
36
+ int index = 0 ;
38
37
39
- @ Override
40
- public void accept (LineData lineData ) {
41
- lineMarshalers [index ++] = LineMarshaler .create (lineData );
42
- }
43
- });
38
+ @ Override
39
+ public void accept (LineData lineData ) {
40
+ lineMarshalers [index ++] = LineMarshaler .create (lineData );
41
+ }
42
+ });
44
43
return lineMarshalers ;
45
44
}
46
45
Original file line number Diff line number Diff line change @@ -39,15 +39,14 @@ static LinkMarshaler[] createRepeated(List<LinkData> items) {
39
39
40
40
LinkMarshaler [] linkMarshalers = new LinkMarshaler [items .size ()];
41
41
items .forEach (
42
- item ->
43
- new Consumer <LinkData >() {
44
- int index = 0 ;
42
+ new Consumer <LinkData >() {
43
+ int index = 0 ;
45
44
46
- @ Override
47
- public void accept (LinkData linkData ) {
48
- linkMarshalers [index ++] = LinkMarshaler .create (linkData );
49
- }
50
- });
45
+ @ Override
46
+ public void accept (LinkData linkData ) {
47
+ linkMarshalers [index ++] = LinkMarshaler .create (linkData );
48
+ }
49
+ });
51
50
return linkMarshalers ;
52
51
}
53
52
Original file line number Diff line number Diff line change @@ -40,15 +40,14 @@ static LocationMarshaler[] createRepeated(List<LocationData> items) {
40
40
41
41
LocationMarshaler [] locationMarshalers = new LocationMarshaler [items .size ()];
42
42
items .forEach (
43
- item ->
44
- new Consumer <LocationData >() {
45
- int index = 0 ;
43
+ new Consumer <LocationData >() {
44
+ int index = 0 ;
46
45
47
- @ Override
48
- public void accept (LocationData locationData ) {
49
- locationMarshalers [index ++] = LocationMarshaler .create (locationData );
50
- }
51
- });
46
+ @ Override
47
+ public void accept (LocationData locationData ) {
48
+ locationMarshalers [index ++] = LocationMarshaler .create (locationData );
49
+ }
50
+ });
52
51
return locationMarshalers ;
53
52
}
54
53
Original file line number Diff line number Diff line change @@ -47,15 +47,14 @@ static MappingMarshaler[] createRepeated(List<MappingData> items) {
47
47
48
48
MappingMarshaler [] mappingMarshalers = new MappingMarshaler [items .size ()];
49
49
items .forEach (
50
- item ->
51
- new Consumer <MappingData >() {
52
- int index = 0 ;
50
+ new Consumer <MappingData >() {
51
+ int index = 0 ;
53
52
54
- @ Override
55
- public void accept (MappingData mappingData ) {
56
- mappingMarshalers [index ++] = MappingMarshaler .create (mappingData );
57
- }
58
- });
53
+ @ Override
54
+ public void accept (MappingData mappingData ) {
55
+ mappingMarshalers [index ++] = MappingMarshaler .create (mappingData );
56
+ }
57
+ });
59
58
return mappingMarshalers ;
60
59
}
61
60
Original file line number Diff line number Diff line change @@ -43,15 +43,14 @@ static SampleMarshaler[] createRepeated(List<SampleData> items) {
43
43
44
44
SampleMarshaler [] sampleMarshalers = new SampleMarshaler [items .size ()];
45
45
items .forEach (
46
- item ->
47
- new Consumer <SampleData >() {
48
- int index = 0 ;
46
+ new Consumer <SampleData >() {
47
+ int index = 0 ;
49
48
50
- @ Override
51
- public void accept (SampleData sampleData ) {
52
- sampleMarshalers [index ++] = SampleMarshaler .create (sampleData );
53
- }
54
- });
49
+ @ Override
50
+ public void accept (SampleData sampleData ) {
51
+ sampleMarshalers [index ++] = SampleMarshaler .create (sampleData );
52
+ }
53
+ });
55
54
return sampleMarshalers ;
56
55
}
57
56
Original file line number Diff line number Diff line change @@ -49,15 +49,14 @@ static ValueTypeMarshaler[] createRepeated(List<ValueTypeData> items) {
49
49
50
50
ValueTypeMarshaler [] valueTypeMarshalers = new ValueTypeMarshaler [items .size ()];
51
51
items .forEach (
52
- item ->
53
- new Consumer <ValueTypeData >() {
54
- int index = 0 ;
52
+ new Consumer <ValueTypeData >() {
53
+ int index = 0 ;
55
54
56
- @ Override
57
- public void accept (ValueTypeData valueTypeData ) {
58
- valueTypeMarshalers [index ++] = ValueTypeMarshaler .create (valueTypeData );
59
- }
60
- });
55
+ @ Override
56
+ public void accept (ValueTypeData valueTypeData ) {
57
+ valueTypeMarshalers [index ++] = ValueTypeMarshaler .create (valueTypeData );
58
+ }
59
+ });
61
60
return valueTypeMarshalers ;
62
61
}
63
62
You can’t perform that action at this time.
0 commit comments