Skip to content

Commit 8f9c92a

Browse files
committed
minor cleanup
1 parent 7c83b3f commit 8f9c92a

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

jmx-scraper/src/main/java/io/opentelemetry/contrib/jmxscraper/config/JmxScraperConfig.java

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,6 @@ public class JmxScraperConfig {
4343
static final String JMX_USERNAME = "otel.jmx.username";
4444
static final String JMX_PASSWORD = "otel.jmx.password";
4545

46-
// TODO: document those when they will be supported
4746
static final String JMX_REGISTRY_SSL = "otel.jmx.remote.registry.ssl";
4847
static final String JMX_REMOTE_PROFILE = "otel.jmx.remote.profile";
4948
static final String JMX_REALM = "otel.jmx.realm";
@@ -72,7 +71,7 @@ public enum TargetSystemSource {
7271
INSTRUMENTATION,
7372
LEGACY;
7473

75-
public static TargetSystemSource fromString(String source) {
74+
static TargetSystemSource fromString(String source) {
7675
try {
7776
return TargetSystemSource.valueOf(source.toUpperCase(Locale.ROOT));
7877
} catch (IllegalArgumentException e) {

0 commit comments

Comments
 (0)