File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
instrumentation-api/src/main/java/io/opentelemetry/instrumentation/api/internal Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change 2323 */
2424public final class ConfigPropertiesUtil {
2525
26- private static final boolean isIncubator = isIncubator ();
26+ private static final boolean supportsDeclarativeConfig = supportsDeclarativeConfig ();
2727
28- private static boolean isIncubator () {
28+ private static boolean supportsDeclarativeConfig () {
2929 try {
3030 Class .forName ("io.opentelemetry.api.incubator.ExtendedOpenTelemetry" );
3131 return true ;
@@ -141,7 +141,7 @@ public static List<String> getList(
141141
142142 /** Returns true if the given OpenTelemetry instance supports Declarative Config. */
143143 public static boolean isDeclarativeConfig (OpenTelemetry openTelemetry ) {
144- return isIncubator && openTelemetry instanceof ExtendedOpenTelemetry ;
144+ return supportsDeclarativeConfig && openTelemetry instanceof ExtendedOpenTelemetry ;
145145 }
146146
147147 private static List <String > filterBlanksAndNulls (String [] values ) {
You can’t perform that action at this time.
0 commit comments