Skip to content

Commit 51c506f

Browse files
committed
format
1 parent fb4d8b9 commit 51c506f

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

instrumentation/spring/spring-boot-autoconfigure/src/main/java/io/opentelemetry/instrumentation/spring/autoconfigure/OpenTelemetryAutoConfiguration.java

+5-5
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77

88
import io.opentelemetry.api.OpenTelemetry;
99
import io.opentelemetry.api.trace.TracerProvider;
10-
import io.opentelemetry.instrumentation.spring.autoconfigure.internal.OTelMapConverter;
10+
import io.opentelemetry.instrumentation.spring.autoconfigure.internal.OtelMapConverter;
1111
import io.opentelemetry.instrumentation.spring.autoconfigure.internal.SdkEnabled;
1212
import io.opentelemetry.instrumentation.spring.autoconfigure.internal.properties.OtelResourceProperties;
1313
import io.opentelemetry.instrumentation.spring.autoconfigure.internal.properties.OtelSpringProperties;
@@ -64,9 +64,9 @@ static class OpenTelemetrySdkConfig {
6464

6565
@Bean
6666
@ConfigurationPropertiesBinding
67-
public OTelMapConverter oTelMapConverter() {
67+
public OtelMapConverter otelMapConverter() {
6868
// needed for otlp exporter headers and OtelResourceProperties
69-
return new OTelMapConverter();
69+
return new OtelMapConverter();
7070
}
7171

7272
@Bean
@@ -137,11 +137,11 @@ static class DisabledOpenTelemetrySdkConfig {
137137
@ConfigurationPropertiesBinding
138138
// Duplicated in OpenTelemetrySdkConfig and DisabledOpenTelemetrySdkConfig to not expose the
139139
// converter in the public API
140-
public OTelMapConverter oTelMapConverter() {
140+
public OtelMapConverter otelMapConverter() {
141141
// needed for otlp exporter headers and OtelResourceProperties
142142
// we need this converter, even if the SDK is disabled,
143143
// because the properties are parsed before the SDK is disabled
144-
return new OTelMapConverter();
144+
return new OtelMapConverter();
145145
}
146146

147147
@Bean
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
* <p>This class is internal and is hence not for public use. Its APIs are unstable and can change
2121
* at any time.
2222
*/
23-
public class OTelMapConverter implements Converter<String, Map<String, String>> {
23+
public class OtelMapConverter implements Converter<String, Map<String, String>> {
2424

2525
public static final String KEY = "key";
2626

0 commit comments

Comments
 (0)