Skip to content

Commit ccb9505

Browse files
committed
spotless
1 parent 108047e commit ccb9505

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

instrumentation/jdbc/javaagent/src/main/java/io/opentelemetry/javaagent/instrumentation/jdbc/StatementInstrumentation.java

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,8 @@ public static JdbcAdviceScope onEnter(
7272

7373
@Advice.OnMethodExit(onThrowable = Throwable.class, suppress = Throwable.class)
7474
public static void stopSpan(
75-
@Advice.Thrown @Nullable Throwable throwable, @Advice.Enter @Nullable JdbcAdviceScope adviceScope) {
75+
@Advice.Thrown @Nullable Throwable throwable,
76+
@Advice.Enter @Nullable JdbcAdviceScope adviceScope) {
7677
if (adviceScope != null) {
7778
adviceScope.end(throwable);
7879
}
@@ -119,7 +120,8 @@ public static JdbcAdviceScope onEnter(@Advice.This Statement statement) {
119120

120121
@Advice.OnMethodExit(onThrowable = Throwable.class, suppress = Throwable.class)
121122
public static void stopSpan(
122-
@Advice.Thrown @Nullable Throwable throwable, @Advice.Enter @Nullable JdbcAdviceScope adviceScope) {
123+
@Advice.Thrown @Nullable Throwable throwable,
124+
@Advice.Enter @Nullable JdbcAdviceScope adviceScope) {
123125
if (adviceScope != null) {
124126
adviceScope.end(throwable);
125127
}

0 commit comments

Comments
 (0)