Skip to content

Commit 144eb06

Browse files
committed
./gradlew spotlessApply
1 parent ce342d8 commit 144eb06

File tree

2 files changed

+2
-7
lines changed
  • smoke-tests-otel-starter

2 files changed

+2
-7
lines changed

smoke-tests-otel-starter/spring-boot-3.2/src/main/java/io/opentelemetry/spring/smoketest/RuntimeHints.java

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -29,8 +29,6 @@ public void registerHints(
2929
});
3030

3131
// Register proxy hints for DataSource AOP proxy used by DataSourcePostProcessor
32-
hints
33-
.proxies()
34-
.registerJdkProxy(TypeReference.of("javax.sql.DataSource"));
32+
hints.proxies().registerJdkProxy(TypeReference.of("javax.sql.DataSource"));
3533
}
3634
}

smoke-tests-otel-starter/spring-boot-3/src/main/java/io/opentelemetry/spring/smoketest/RuntimeHints.java

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -36,9 +36,6 @@ public void registerHints(
3636
hints
3737
.proxies()
3838
.registerJdkProxy(
39-
DataSource.class,
40-
SpringProxy.class,
41-
Advised.class,
42-
DecoratingProxy.class);
39+
DataSource.class, SpringProxy.class, Advised.class, DecoratingProxy.class);
4340
}
4441
}

0 commit comments

Comments
 (0)