aboutsummaryrefslogtreecommitdiffstats
path: root/main/src/cgeo/geocaching/cgeogpxes.java
diff options
context:
space:
mode:
authorSamuel Tardieu <sam@rfc1149.net>2013-01-27 00:58:41 +0100
committerSamuel Tardieu <sam@rfc1149.net>2013-01-27 01:02:55 +0100
commitbc070172281b36407d05ed5cbdc4fbcba2d6b529 (patch)
tree24c4752e4f23fc1833aee572f864a02a29788efb /main/src/cgeo/geocaching/cgeogpxes.java
parent2243f21efc8c090a1cfe1ad474e1108cc64d080a (diff)
downloadcgeo-bc070172281b36407d05ed5cbdc4fbcba2d6b529.zip
cgeo-bc070172281b36407d05ed5cbdc4fbcba2d6b529.tar.gz
cgeo-bc070172281b36407d05ed5cbdc4fbcba2d6b529.tar.bz2
Do not repeat the work done in superclass in overriden method
Diffstat (limited to 'main/src/cgeo/geocaching/cgeogpxes.java')
-rw-r--r--main/src/cgeo/geocaching/cgeogpxes.java16
1 files changed, 0 insertions, 16 deletions
diff --git a/main/src/cgeo/geocaching/cgeogpxes.java b/main/src/cgeo/geocaching/cgeogpxes.java
index 4f38734..d512618 100644
--- a/main/src/cgeo/geocaching/cgeogpxes.java
+++ b/main/src/cgeo/geocaching/cgeogpxes.java
@@ -10,7 +10,6 @@ import org.apache.commons.lang3.StringUtils;
import android.app.Activity;
import android.content.Intent;
-import android.os.Bundle;
import java.io.File;
import java.util.Collections;
@@ -22,8 +21,6 @@ public class cgeogpxes extends FileList<GPXListAdapter> {
super(new String[] { "gpx", "loc", "zip" });
}
- private int listId = StoredList.STANDARD_LIST_ID;
-
@Override
protected GPXListAdapter getAdapter(List<File> files) {
return new GPXListAdapter(this, files);
@@ -35,19 +32,6 @@ public class cgeogpxes extends FileList<GPXListAdapter> {
}
@Override
- public void onCreate(Bundle savedInstanceState) {
- super.onCreate(savedInstanceState);
-
- final Bundle extras = getIntent().getExtras();
- if (extras != null) {
- listId = extras.getInt(Intents.EXTRA_LIST_ID);
- }
- if (listId <= StoredList.TEMPORARY_LIST_ID) {
- listId = StoredList.STANDARD_LIST_ID;
- }
- }
-
- @Override
protected void setTitle() {
setTitle(res.getString(R.string.gpx_import_title));
}