Skip to content

Commit 7dcf66e

Browse files
committed
comment
1 parent c70a146 commit 7dcf66e

File tree

2 files changed

+0
-4
lines changed

2 files changed

+0
-4
lines changed

instrumentation/spring/spring-boot-autoconfigure/src/main/java/io/opentelemetry/instrumentation/spring/autoconfigure/internal/properties/ConfigPropertiesBridge.java

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -132,8 +132,6 @@ public DeclarativeConfigProperties getDeclarativeConfig(String node) {
132132
InstrumentationConfigUtil.javaInstrumentationConfig(configProvider, node);
133133
if (config == null) {
134134
// there is no declarative config for this node
135-
// this needs to be a different value than null to avoid confusion with
136-
// the case when declarative config is not supported at all
137135
return empty();
138136
}
139137
return config;

javaagent-tooling/src/main/java/io/opentelemetry/javaagent/tooling/config/ConfigPropertiesBridge.java

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -122,8 +122,6 @@ public DeclarativeConfigProperties getDeclarativeConfig(String node) {
122122
InstrumentationConfigUtil.javaInstrumentationConfig(configProvider, node);
123123
if (config == null) {
124124
// there is no declarative config for this node
125-
// this needs to be a different value than null to avoid confusion with
126-
// the case when declarative config is not supported at all
127125
return empty();
128126
}
129127
return config;

0 commit comments

Comments
 (0)