Skip to content

Commit d98dc33

Browse files
committed
add missing @nullable
1 parent cadca12 commit d98dc33

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

instrumentation/jaxrs/jaxrs-3.0/jaxrs-3.0-annotations/javaagent/src/main/java/io/opentelemetry/javaagent/instrumentation/jaxrs/v3_0/DefaultRequestContextInstrumentation.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -108,7 +108,7 @@ public static AdviceScope createGenericSpan(
108108

109109
@Advice.OnMethodExit(onThrowable = Throwable.class, suppress = Throwable.class)
110110
public static void stopSpan(
111-
@Advice.Thrown Throwable throwable, @Advice.Enter AdviceScope adviceScope) {
111+
@Advice.Thrown Throwable throwable, @Advice.Enter @Nullable AdviceScope adviceScope) {
112112

113113
if (adviceScope != null) {
114114
adviceScope.exit(throwable);

0 commit comments

Comments
 (0)