INT-1339: removed mark message to keep MessageGroup interface immutable

This commit is contained in:
Iwein Fuld
2010-09-15 20:45:04 +02:00
parent d40ce03e85
commit d1eebf9371
2 changed files with 1 additions and 6 deletions

View File

@@ -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);
}

View File

@@ -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) {