mirror of
https://github.com/moparisthebest/k-9
synced 2025-02-07 10:40:11 -05:00
fix a numeric equality bug spotted by intellij
This commit is contained in:
parent
78c900b5fe
commit
f4a54b9ecb
@ -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;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user