Rename variables (#7486)
This commit is contained in:
parent
ce1e26f579
commit
7781706de2
|
@ -42,12 +42,12 @@ public final class ResourceLogsMarshaler extends MarshalerWithSize {
|
|||
int posResource = 0;
|
||||
for (Map.Entry<Resource, Map<InstrumentationScopeInfo, List<Marshaler>>> entry :
|
||||
resourceAndScopeMap.entrySet()) {
|
||||
InstrumentationScopeLogsMarshaler[] instrumentationLibrarySpansMarshalers =
|
||||
InstrumentationScopeLogsMarshaler[] instrumentationScopeLogsMarshalers =
|
||||
new InstrumentationScopeLogsMarshaler[entry.getValue().size()];
|
||||
int posInstrumentation = 0;
|
||||
for (Map.Entry<InstrumentationScopeInfo, List<Marshaler>> entryIs :
|
||||
entry.getValue().entrySet()) {
|
||||
instrumentationLibrarySpansMarshalers[posInstrumentation++] =
|
||||
instrumentationScopeLogsMarshalers[posInstrumentation++] =
|
||||
new InstrumentationScopeLogsMarshaler(
|
||||
InstrumentationScopeMarshaler.create(entryIs.getKey()),
|
||||
MarshalerUtil.toBytes(entryIs.getKey().getSchemaUrl()),
|
||||
|
@ -57,7 +57,7 @@ public final class ResourceLogsMarshaler extends MarshalerWithSize {
|
|||
new ResourceLogsMarshaler(
|
||||
ResourceMarshaler.create(entry.getKey()),
|
||||
MarshalerUtil.toBytes(entry.getKey().getSchemaUrl()),
|
||||
instrumentationLibrarySpansMarshalers);
|
||||
instrumentationScopeLogsMarshalers);
|
||||
}
|
||||
|
||||
return resourceLogsMarshalers;
|
||||
|
|
|
@ -42,12 +42,12 @@ public final class ResourceMetricsMarshaler extends MarshalerWithSize {
|
|||
int posResource = 0;
|
||||
for (Map.Entry<Resource, Map<InstrumentationScopeInfo, List<Marshaler>>> entry :
|
||||
resourceAndScopeMap.entrySet()) {
|
||||
InstrumentationScopeMetricsMarshaler[] instrumentationLibrarySpansMarshalers =
|
||||
InstrumentationScopeMetricsMarshaler[] instrumentationScopeMetricsMarshalers =
|
||||
new InstrumentationScopeMetricsMarshaler[entry.getValue().size()];
|
||||
int posInstrumentation = 0;
|
||||
for (Map.Entry<InstrumentationScopeInfo, List<Marshaler>> entryIs :
|
||||
entry.getValue().entrySet()) {
|
||||
instrumentationLibrarySpansMarshalers[posInstrumentation++] =
|
||||
instrumentationScopeMetricsMarshalers[posInstrumentation++] =
|
||||
new InstrumentationScopeMetricsMarshaler(
|
||||
InstrumentationScopeMarshaler.create(entryIs.getKey()),
|
||||
MarshalerUtil.toBytes(entryIs.getKey().getSchemaUrl()),
|
||||
|
@ -57,7 +57,7 @@ public final class ResourceMetricsMarshaler extends MarshalerWithSize {
|
|||
new ResourceMetricsMarshaler(
|
||||
ResourceMarshaler.create(entry.getKey()),
|
||||
MarshalerUtil.toBytes(entry.getKey().getSchemaUrl()),
|
||||
instrumentationLibrarySpansMarshalers);
|
||||
instrumentationScopeMetricsMarshalers);
|
||||
}
|
||||
|
||||
return resourceMetricsMarshalers;
|
||||
|
|
|
@ -35,13 +35,13 @@ final class ResourceProfilesMarshaler extends MarshalerWithSize {
|
|||
int posResource = 0;
|
||||
for (Map.Entry<Resource, Map<InstrumentationScopeInfo, List<ProfileMarshaler>>> entry :
|
||||
resourceAndScopeMap.entrySet()) {
|
||||
InstrumentationScopeProfilesMarshaler[] instrumentationLibrarySpansMarshalers =
|
||||
InstrumentationScopeProfilesMarshaler[] instrumentationScopeProfilesMarshalers =
|
||||
new InstrumentationScopeProfilesMarshaler[entry.getValue().size()];
|
||||
int posInstrumentation = 0;
|
||||
|
||||
for (Map.Entry<InstrumentationScopeInfo, List<ProfileMarshaler>> entryIs :
|
||||
entry.getValue().entrySet()) {
|
||||
instrumentationLibrarySpansMarshalers[posInstrumentation++] =
|
||||
instrumentationScopeProfilesMarshalers[posInstrumentation++] =
|
||||
new InstrumentationScopeProfilesMarshaler(
|
||||
InstrumentationScopeMarshaler.create(entryIs.getKey()),
|
||||
MarshalerUtil.toBytes(entryIs.getKey().getSchemaUrl()),
|
||||
|
@ -52,7 +52,7 @@ final class ResourceProfilesMarshaler extends MarshalerWithSize {
|
|||
new ResourceProfilesMarshaler(
|
||||
ResourceMarshaler.create(entry.getKey()),
|
||||
MarshalerUtil.toBytes(entry.getKey().getSchemaUrl()),
|
||||
instrumentationLibrarySpansMarshalers);
|
||||
instrumentationScopeProfilesMarshalers);
|
||||
}
|
||||
|
||||
return resourceProfilesMarshalers;
|
||||
|
|
Loading…
Reference in New Issue