Skip to content

Commit ea441ff

Browse files
mrpiggispring-builds
authored andcommitted
GH-9713: Add @Nullable to IntegrationEvent.getCause()
Fixes: #9713 (cherry picked from commit c677fc5)
1 parent 4bb4624 commit ea441ff

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

spring-integration-core/src/main/java/org/springframework/integration/events/IntegrationEvent.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,7 @@ public IntegrationEvent(Object source, @Nullable Throwable cause) {
4343
this.cause = cause;
4444
}
4545

46+
@Nullable
4647
public Throwable getCause() {
4748
return this.cause;
4849
}

0 commit comments

Comments
 (0)