From 6e2c5be84c7790073b4b4d3f8ba0453f232507f7 Mon Sep 17 00:00:00 2001 From: Jesse Vincent Date: Sun, 29 Aug 2010 23:40:14 +0000 Subject: [PATCH] simplify a boolean in isMoveCapable --- src/com/fsck/k9/controller/MessagingController.java | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) diff --git a/src/com/fsck/k9/controller/MessagingController.java b/src/com/fsck/k9/controller/MessagingController.java index 2dd4db1bf..8d66359de 100644 --- a/src/com/fsck/k9/controller/MessagingController.java +++ b/src/com/fsck/k9/controller/MessagingController.java @@ -3665,14 +3665,7 @@ public class MessagingController implements Runnable public boolean isMoveCapable(Message message) { - if (!message.getUid().startsWith(K9.LOCAL_UID_PREFIX)) - { - return true; - } - else - { - return false; - } + return !message.getUid().startsWith(K9.LOCAL_UID_PREFIX); } public boolean isCopyCapable(Message message) {