diff --git a/spring-integration-core/src/main/java/org/springframework/integration/store/MessageGroup.java b/spring-integration-core/src/main/java/org/springframework/integration/store/MessageGroup.java index c5186e98e2..36a3d91c9e 100644 --- a/spring-integration-core/src/main/java/org/springframework/integration/store/MessageGroup.java +++ b/spring-integration-core/src/main/java/org/springframework/integration/store/MessageGroup.java @@ -58,9 +58,4 @@ public interface MessageGroup { * @return the timestamp (milliseconds since epoch) associated with the creation of this group */ long getTimestamp(); - - /** - * Mark the given message in this group. If the message is not part of this group then this call has no effect. - */ - void mark(Message messageToMark); } \ No newline at end of file diff --git a/spring-integration-core/src/main/java/org/springframework/integration/store/SimpleMessageGroup.java b/spring-integration-core/src/main/java/org/springframework/integration/store/SimpleMessageGroup.java index e966a41de1..59a6676b0d 100644 --- a/spring-integration-core/src/main/java/org/springframework/integration/store/SimpleMessageGroup.java +++ b/spring-integration-core/src/main/java/org/springframework/integration/store/SimpleMessageGroup.java @@ -155,7 +155,7 @@ public class SimpleMessageGroup implements MessageGroup { } /** - * {@inheritDoc}} + * Mark the given message in this group. If the message is not part of this group then this call has no effect. */ public void mark(Message messageToMark) { synchronized (lock) {