Skip to content

Commit b7644a4

Browse files
committed
./gradlew spotlessApply
1 parent 343f3be commit b7644a4

File tree

2 files changed

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

2 files changed

+2
-6
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 & 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
}

0 commit comments

Comments
 (0)