aboutsummaryrefslogtreecommitdiffstats
path: root/src/cgeo/geocaching/cgCache.java
diff options
context:
space:
mode:
authorSamuel Tardieu <sam@rfc1149.net>2011-08-11 18:31:13 +0200
committerSamuel Tardieu <sam@rfc1149.net>2011-08-11 21:15:02 +0200
commitd44ae263be6167ca983953ad621cae75bb84f0ad (patch)
treecbc0fc280029ec762a1b180304359fee270fb10d /src/cgeo/geocaching/cgCache.java
parentbbaad718eca730232ff1751a64d1335bc1031c52 (diff)
downloadcgeo-d44ae263be6167ca983953ad621cae75bb84f0ad.zip
cgeo-d44ae263be6167ca983953ad621cae75bb84f0ad.tar.gz
cgeo-d44ae263be6167ca983953ad621cae75bb84f0ad.tar.bz2
Remove uses of "== true" and "!= false"
Diffstat (limited to 'src/cgeo/geocaching/cgCache.java')
-rw-r--r--src/cgeo/geocaching/cgCache.java12
1 files changed, 6 insertions, 6 deletions
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();
}