Skip to content

Commit 4b502a6

Browse files
authored
Add missing @nullable to fix the build (#15474)
1 parent 647c64e commit 4b502a6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

instrumentation/spring/spring-kafka-2.7/library/src/main/java/io/opentelemetry/instrumentation/spring/kafka/v2_7/InstrumentedRecordInterceptor.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -138,6 +138,6 @@ public void clearThreadState(Consumer<?, ?> consumer) {
138138

139139
private static class ThreadState {
140140
// used to record the error in failure() so it could be used in afterRecord()
141-
Throwable error;
141+
@Nullable Throwable error;
142142
}
143143
}

0 commit comments

Comments
 (0)