1
0
mirror of https://github.com/moparisthebest/k-9 synced 2024-11-27 11:42:16 -05:00

Removed unnecessary method implementation

Make Pop3Folder.setFlags(Flag[],boolean) throw an
UnsupportedOperationException instead of calling a method that does
just that.
This commit is contained in:
cketti 2011-05-14 23:46:26 +02:00
parent dc96bf3186
commit 95288b37d7

View File

@ -754,10 +754,8 @@ public class Pop3Store extends Store {
}
@Override
public void setFlags(Flag[] flags, boolean value)
throws MessagingException {
Message[] messages = getMessages(null);
setFlags(messages, flags, value);
public void setFlags(Flag[] flags, boolean value) throws MessagingException {
throw new UnsupportedOperationException("POP3: No setFlags(Flag[],boolean)");
}
@Override