Skip to content

Commit

Permalink
spring-projectsGH-3697: Make DelegatingInvocableHandler.invoke() retu…
Browse files Browse the repository at this point in the history
…rn null

Signed-off-by: ivamly <[email protected]>
  • Loading branch information
ivamly committed Jan 16, 2025
1 parent 10a2609 commit e1ca0c0
Showing 1 changed file with 4 additions and 2 deletions.
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright 2016-2024 the original author or authors.
* Copyright 2016-2025 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
Expand Down Expand Up @@ -55,6 +55,7 @@
*
* @author Gary Russell
* @author Wang Zhiyang
* @author Ivan Malutin
*
*/
public class DelegatingInvocableHandler {
Expand Down Expand Up @@ -190,7 +191,8 @@ public Object invoke(Message<?> message, Object... providedArgs) throws Exceptio
if (result != null) {
Expression replyTo = this.handlerSendTo.get(handler);
return new InvocationResult(result, replyTo, this.handlerReturnsMessage.get(handler));
} else {
}
else {
return null;
}
}
Expand Down

0 comments on commit e1ca0c0

Please sign in to comment.