Skip to content

Commit 8ed6575

Browse files
committed
spotless
1 parent 6277dd7 commit 8ed6575

3 files changed

Lines changed: 5 additions & 4 deletions

File tree

api/incubator/src/main/java/io/opentelemetry/api/incubator/config/ConfigProvider.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -107,8 +107,8 @@ default void updateConfig(String path, DeclarativeConfigProperties newSubtree) {
107107
*
108108
* <p>The path uses {@code .} as a separator (e.g., {@code
109109
* ".instrumentation/development.java.myLib"}). The property identified by {@code key} within that
110-
* path is set to {@code value}, and any registered {@link ConfigChangeListener}s watching affected
111-
* paths are notified.
110+
* path is set to {@code value}, and any registered {@link ConfigChangeListener}s watching
111+
* affected paths are notified.
112112
*
113113
* <p>The default implementation is a no-op.
114114
*

api/incubator/src/main/java/io/opentelemetry/api/incubator/config/MapBackedDeclarativeConfigProperties.java

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,8 @@ final class MapBackedDeclarativeConfigProperties implements DeclarativeConfigPro
2525
private final Map<String, Object> values;
2626
private final ComponentLoader componentLoader;
2727

28-
MapBackedDeclarativeConfigProperties(Map<String, Object> values, ComponentLoader componentLoader) {
28+
MapBackedDeclarativeConfigProperties(
29+
Map<String, Object> values, ComponentLoader componentLoader) {
2930
this.values = values;
3031
this.componentLoader = componentLoader;
3132
}

sdk/all/src/main/java/io/opentelemetry/sdk/internal/SdkConfigProvider.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ public DeclarativeConfigProperties getInstrumentationConfig() {
6262
public ConfigChangeRegistration addConfigChangeListener(
6363
String path, ConfigChangeListener listener) {
6464
requireNonNull(listener, "listener");
65-
String watchedPath = normalizeAndValidatePath(path); //fail fast on invalid path
65+
String watchedPath = normalizeAndValidatePath(path); // fail fast on invalid path
6666
if (disposed.get()) {
6767
return NOOP_CHANGE_REGISTRATION;
6868
}

0 commit comments

Comments
 (0)