Skip to content

Commit f1ad99c

Browse files
committed
code style fix
1 parent cafb0e4 commit f1ad99c

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

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

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -112,7 +112,9 @@ public static AdviceScope onEnter(
112112
public static void stopSpan(
113113
@Advice.Thrown @Nullable Throwable throwable,
114114
@Advice.Enter @Nullable AdviceScope adviceScope) {
115-
if (adviceScope != null) adviceScope.end(throwable);
115+
if (adviceScope != null) {
116+
adviceScope.end(throwable);
117+
}
116118
}
117119
}
118120
}

0 commit comments

Comments
 (0)