From f4a54b9ecb565afa987c9e74f07e112bb0e7fa55 Mon Sep 17 00:00:00 2001 From: Jesse Vincent Date: Wed, 1 Dec 2010 03:08:09 +0000 Subject: [PATCH] fix a numeric equality bug spotted by intellij --- src/com/fsck/k9/K9.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/com/fsck/k9/K9.java b/src/com/fsck/k9/K9.java index 1a029e46f..c70e94bd7 100644 --- a/src/com/fsck/k9/K9.java +++ b/src/com/fsck/k9/K9.java @@ -776,7 +776,7 @@ public class K9 extends Application Integer quietEnds = endHour * 60 +endMinute; // If start and end times are the same, we're never quiet - if (quietStarts == quietEnds) + if (quietStarts.equals(quietEnds)) { return false; }