Skip to content

Commit 6a7e58a

Browse files
marschallsbrannen
authored andcommitted
Add @FunctionalInterface to MessagePostProcessor
Add the @FunctionalInterface annotation to the MessagePostProcessor interfaces in the spring-jms and spring-messaging projects. Closes gh-25571
1 parent e25e690 commit 6a7e58a

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

spring-jms/src/main/java/org/springframework/jms/core/MessagePostProcessor.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,7 @@
3232
* @see JmsTemplate#convertAndSend(javax.jms.Destination, Object, MessagePostProcessor)
3333
* @see org.springframework.jms.support.converter.MessageConverter
3434
*/
35+
@FunctionalInterface
3536
public interface MessagePostProcessor {
3637

3738
/**

spring-messaging/src/main/java/org/springframework/messaging/core/MessagePostProcessor.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,7 @@
2828
* @see MessageSendingOperations
2929
* @see MessageRequestReplyOperations
3030
*/
31+
@FunctionalInterface
3132
public interface MessagePostProcessor {
3233

3334
/**

0 commit comments

Comments
 (0)