Remove potentially misleading exception message

.. because the MessageList itself is not read-only.
This commit is contained in:
Trustin Lee 2013-06-28 21:25:15 +09:00
parent 591dce565a
commit 5f1aa6afde

View File

@ -570,7 +570,7 @@ public final class MessageList<T> implements Iterable<T> {
@Override
public void remove() {
throw new UnsupportedOperationException("Read-Only");
throw new UnsupportedOperationException();
}
}
}