From 95288b37d7b060173db89b7b171eb648ff482400 Mon Sep 17 00:00:00 2001 From: cketti Date: Sat, 14 May 2011 23:46:26 +0200 Subject: [PATCH] Removed unnecessary method implementation Make Pop3Folder.setFlags(Flag[],boolean) throw an UnsupportedOperationException instead of calling a method that does just that. --- src/com/fsck/k9/mail/store/Pop3Store.java | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/src/com/fsck/k9/mail/store/Pop3Store.java b/src/com/fsck/k9/mail/store/Pop3Store.java index de40edea1..ee04f15d8 100644 --- a/src/com/fsck/k9/mail/store/Pop3Store.java +++ b/src/com/fsck/k9/mail/store/Pop3Store.java @@ -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