From d44ae263be6167ca983953ad621cae75bb84f0ad Mon Sep 17 00:00:00 2001 From: Samuel Tardieu Date: Thu, 11 Aug 2011 18:31:13 +0200 Subject: Remove uses of "== true" and "!= false" --- src/cgeo/geocaching/cgCache.java | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'src/cgeo/geocaching/cgCache.java') diff --git a/src/cgeo/geocaching/cgCache.java b/src/cgeo/geocaching/cgCache.java index 5c635ca..a53740b 100644 --- a/src/cgeo/geocaching/cgCache.java +++ b/src/cgeo/geocaching/cgCache.java @@ -74,19 +74,19 @@ public class cgCache { boolean loadL = true; boolean loadI = true; - if (attributes == null || attributes.isEmpty() == true) { + if (attributes == null || attributes.isEmpty()) { loadA = false; } - if (waypoints == null || waypoints.isEmpty() == true) { + if (waypoints == null || waypoints.isEmpty()) { loadW = false; } - if (spoilers == null || spoilers.isEmpty() == true) { + if (spoilers == null || spoilers.isEmpty()) { loadS = false; } - if (logs == null || logs.isEmpty() == true) { + if (logs == null || logs.isEmpty()) { loadL = false; } - if (inventory == null || inventory.isEmpty() == true) { + if (inventory == null || inventory.isEmpty()) { loadI = false; } @@ -97,7 +97,7 @@ public class cgCache { } updated = System.currentTimeMillis(); - if (detailed == false && oldCache.detailed == true) { + if (detailed == false && oldCache.detailed) { detailed = true; detailedUpdate = System.currentTimeMillis(); } -- cgit v1.1