Skip to content

Commit

Permalink
Add @FunctionalInterface to MessagePostProcessor
Browse files Browse the repository at this point in the history
Add the @FunctionalInterface annotation to the MessagePostProcessor
interfaces in the spring-jms and spring-messaging projects.

Closes gh-25571
  • Loading branch information
marschall authored and sbrannen committed Aug 10, 2020
1 parent e25e690 commit 6a7e58a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@
* @see JmsTemplate#convertAndSend(javax.jms.Destination, Object, MessagePostProcessor)
* @see org.springframework.jms.support.converter.MessageConverter
*/
@FunctionalInterface
public interface MessagePostProcessor {

/**
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@
* @see MessageSendingOperations
* @see MessageRequestReplyOperations
*/
@FunctionalInterface
public interface MessagePostProcessor {

/**
Expand Down

0 comments on commit 6a7e58a

Please sign in to comment.