From d348029486113bd9aab43104fbaf8d1f9377df02 Mon Sep 17 00:00:00 2001 From: Trask Stalnaker Date: Tue, 24 Dec 2024 02:29:22 -0800 Subject: [PATCH] Remove unused class (#12963) --- .../jdbc/internal/JdbcSingletons.java | 26 ------------------- 1 file changed, 26 deletions(-) delete mode 100644 instrumentation/jdbc/library/src/main/java/io/opentelemetry/instrumentation/jdbc/internal/JdbcSingletons.java diff --git a/instrumentation/jdbc/library/src/main/java/io/opentelemetry/instrumentation/jdbc/internal/JdbcSingletons.java b/instrumentation/jdbc/library/src/main/java/io/opentelemetry/instrumentation/jdbc/internal/JdbcSingletons.java deleted file mode 100644 index 0ab6892401f6..000000000000 --- a/instrumentation/jdbc/library/src/main/java/io/opentelemetry/instrumentation/jdbc/internal/JdbcSingletons.java +++ /dev/null @@ -1,26 +0,0 @@ -/* - * Copyright The OpenTelemetry Authors - * SPDX-License-Identifier: Apache-2.0 - */ - -package io.opentelemetry.instrumentation.jdbc.internal; - -import static io.opentelemetry.instrumentation.jdbc.internal.JdbcInstrumenterFactory.createStatementInstrumenter; - -import io.opentelemetry.api.GlobalOpenTelemetry; -import io.opentelemetry.instrumentation.api.instrumenter.Instrumenter; - -/** - * This class is internal and is hence not for public use. Its APIs are unstable and can change at - * any time. - */ -public final class JdbcSingletons { - public static final Instrumenter STATEMENT_INSTRUMENTER = - createStatementInstrumenter(GlobalOpenTelemetry.get()); - - public static Instrumenter statementInstrumenter() { - return STATEMENT_INSTRUMENTER; - } - - private JdbcSingletons() {} -}