From aa7385ab648e41fd864bc9ff88c5abd2ce599cf5 Mon Sep 17 00:00:00 2001 From: Trask Stalnaker Date: Sun, 8 Dec 2024 17:28:15 -0800 Subject: [PATCH] Make package protected --- .../spring/webmvc/v5_3/SpringWebMvcTelemetryBuilder.java | 3 +-- .../spring/webmvc/v6_0/SpringWebMvcTelemetryBuilder.java | 3 +-- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/instrumentation/spring/spring-webmvc/spring-webmvc-5.3/library/src/main/java/io/opentelemetry/instrumentation/spring/webmvc/v5_3/SpringWebMvcTelemetryBuilder.java b/instrumentation/spring/spring-webmvc/spring-webmvc-5.3/library/src/main/java/io/opentelemetry/instrumentation/spring/webmvc/v5_3/SpringWebMvcTelemetryBuilder.java index 0c31ace56234..5b43e38741a3 100644 --- a/instrumentation/spring/spring-webmvc/spring-webmvc-5.3/library/src/main/java/io/opentelemetry/instrumentation/spring/webmvc/v5_3/SpringWebMvcTelemetryBuilder.java +++ b/instrumentation/spring/spring-webmvc/spring-webmvc-5.3/library/src/main/java/io/opentelemetry/instrumentation/spring/webmvc/v5_3/SpringWebMvcTelemetryBuilder.java @@ -123,8 +123,7 @@ public SpringWebMvcTelemetry build() { return new SpringWebMvcTelemetry(builder.build()); } - public DefaultHttpServerInstrumenterBuilder - getBuilder() { + DefaultHttpServerInstrumenterBuilder getBuilder() { return builder; } } diff --git a/instrumentation/spring/spring-webmvc/spring-webmvc-6.0/library/src/main/java/io/opentelemetry/instrumentation/spring/webmvc/v6_0/SpringWebMvcTelemetryBuilder.java b/instrumentation/spring/spring-webmvc/spring-webmvc-6.0/library/src/main/java/io/opentelemetry/instrumentation/spring/webmvc/v6_0/SpringWebMvcTelemetryBuilder.java index 1c34c847a3b2..d6c0216334ff 100644 --- a/instrumentation/spring/spring-webmvc/spring-webmvc-6.0/library/src/main/java/io/opentelemetry/instrumentation/spring/webmvc/v6_0/SpringWebMvcTelemetryBuilder.java +++ b/instrumentation/spring/spring-webmvc/spring-webmvc-6.0/library/src/main/java/io/opentelemetry/instrumentation/spring/webmvc/v6_0/SpringWebMvcTelemetryBuilder.java @@ -122,8 +122,7 @@ public SpringWebMvcTelemetry build() { return new SpringWebMvcTelemetry(builder.build()); } - public DefaultHttpServerInstrumenterBuilder - getBuilder() { + DefaultHttpServerInstrumenterBuilder getBuilder() { return builder; } }