diff options
| author | Bananeweizen <bananeweizen@gmx.de> | 2014-09-07 17:46:02 +0200 |
|---|---|---|
| committer | Bananeweizen <bananeweizen@gmx.de> | 2014-09-07 17:46:02 +0200 |
| commit | 815ee250714b2cfb7effbd02880fd688f30778b9 (patch) | |
| tree | bec7540923ce25f2fdad2fe1c32ce29d28d86817 /main/src/cgeo/geocaching/EditWaypointActivity.java | |
| parent | 8cd0f9d353cc4800deeb6c17375ed27090b71de6 (diff) | |
| download | cgeo-815ee250714b2cfb7effbd02880fd688f30778b9.zip cgeo-815ee250714b2cfb7effbd02880fd688f30778b9.tar.gz cgeo-815ee250714b2cfb7effbd02880fd688f30778b9.tar.bz2 | |
fix some findbugs issues
Diffstat (limited to 'main/src/cgeo/geocaching/EditWaypointActivity.java')
| -rw-r--r-- | main/src/cgeo/geocaching/EditWaypointActivity.java | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/main/src/cgeo/geocaching/EditWaypointActivity.java b/main/src/cgeo/geocaching/EditWaypointActivity.java index 7b444fb..1ba9c5a 100644 --- a/main/src/cgeo/geocaching/EditWaypointActivity.java +++ b/main/src/cgeo/geocaching/EditWaypointActivity.java @@ -67,10 +67,6 @@ public class EditWaypointActivity extends AbstractActionBarActivity implements C @Extra(Intents.EXTRA_GEOCODE) protected String geocode = null; @Extra(Intents.EXTRA_WAYPOINT_ID) protected int waypointId = -1; - /** - * number of waypoints that the corresponding cache has until now - */ - @Extra(Intents.EXTRA_COUNT) protected int wpCount = 0; @InstanceState protected int waypointTypeSelectorPosition = -1; @@ -524,6 +520,6 @@ public class EditWaypointActivity extends AbstractActionBarActivity implements C } public static void startActivityAddWaypoint(final Context context, final Geocache cache) { - EditWaypointActivity_.intent(context).geocode(cache.getGeocode()).wpCount(cache.getWaypoints().size()).start(); + EditWaypointActivity_.intent(context).geocode(cache.getGeocode()).start(); } } |
