aboutsummaryrefslogtreecommitdiffstats
path: root/main/src/cgeo/geocaching/maps/google/GoogleOtherCachersOverlay.java
diff options
context:
space:
mode:
authorBananeweizen <bananeweizen@gmx.de>2011-12-07 06:39:48 +0100
committerBananeweizen <bananeweizen@gmx.de>2011-12-07 06:39:48 +0100
commit4091b52d31016686433bc6ac7c2f9132eee1ecd7 (patch)
treea7ebb25fac8ce93b704ad13f9f4fb9c763d046c0 /main/src/cgeo/geocaching/maps/google/GoogleOtherCachersOverlay.java
parent94670e1f03dcf0b0d0ca57f64389b08cb8dee9e8 (diff)
downloadcgeo-4091b52d31016686433bc6ac7c2f9132eee1ecd7.zip
cgeo-4091b52d31016686433bc6ac7c2f9132eee1ecd7.tar.gz
cgeo-4091b52d31016686433bc6ac7c2f9132eee1ecd7.tar.bz2
refactoring: minor cleanups using CodePro Analytix
Diffstat (limited to 'main/src/cgeo/geocaching/maps/google/GoogleOtherCachersOverlay.java')
-rw-r--r--main/src/cgeo/geocaching/maps/google/GoogleOtherCachersOverlay.java9
1 files changed, 6 insertions, 3 deletions
diff --git a/main/src/cgeo/geocaching/maps/google/GoogleOtherCachersOverlay.java b/main/src/cgeo/geocaching/maps/google/GoogleOtherCachersOverlay.java
index 55bd1e8..4c330c9 100644
--- a/main/src/cgeo/geocaching/maps/google/GoogleOtherCachersOverlay.java
+++ b/main/src/cgeo/geocaching/maps/google/GoogleOtherCachersOverlay.java
@@ -33,24 +33,27 @@ public class GoogleOtherCachersOverlay extends ItemizedOverlay<GoogleOtherCacher
@Override
protected GoogleOtherCachersOverlayItem createItem(int i) {
- if (base == null)
+ if (base == null) {
return null;
+ }
return (GoogleOtherCachersOverlayItem) base.createItem(i);
}
@Override
public int size() {
- if (base == null)
+ if (base == null) {
return 0;
+ }
return base.size();
}
@Override
protected boolean onTap(int arg0) {
- if (base == null)
+ if (base == null) {
return false;
+ }
return base.onTap(arg0);
}