From 12f1396489924ff4d3787fe56aba2855251a4742 Mon Sep 17 00:00:00 2001 From: Falk Hanisch Date: Fri, 13 Dec 2024 00:28:09 +0100 Subject: [PATCH] mark `IntegrationEvent.getCause()` as `@Nullable` --- .../org/springframework/integration/events/IntegrationEvent.java | 1 + 1 file changed, 1 insertion(+) diff --git a/spring-integration-core/src/main/java/org/springframework/integration/events/IntegrationEvent.java b/spring-integration-core/src/main/java/org/springframework/integration/events/IntegrationEvent.java index 379c8432610..1794432d123 100644 --- a/spring-integration-core/src/main/java/org/springframework/integration/events/IntegrationEvent.java +++ b/spring-integration-core/src/main/java/org/springframework/integration/events/IntegrationEvent.java @@ -43,6 +43,7 @@ public IntegrationEvent(Object source, @Nullable Throwable cause) { this.cause = cause; } + @Nullable public Throwable getCause() { return this.cause; }