Remove potentially misleading exception message
.. because the MessageList itself is not read-only.
This commit is contained in:
parent
591dce565a
commit
5f1aa6afde
@ -570,7 +570,7 @@ public final class MessageList<T> implements Iterable<T> {
|
||||
|
||||
@Override
|
||||
public void remove() {
|
||||
throw new UnsupportedOperationException("Read-Only");
|
||||
throw new UnsupportedOperationException();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user