aboutsummaryrefslogtreecommitdiffstats
path: root/main/src/cgeo/geocaching/activity
diff options
context:
space:
mode:
authorbananeweizen <bananeweizen@gmx.de>2011-12-01 19:17:36 +0100
committerbananeweizen <bananeweizen@gmx.de>2011-12-01 19:17:36 +0100
commit90ad351a2143b40066413389007ef87796d2cce4 (patch)
treefbf4bbaa5069fb5a4aa01f82dd95069eb822aaec /main/src/cgeo/geocaching/activity
parent89d32e745267763c36c1049e812c0b77d31c6a69 (diff)
downloadcgeo-90ad351a2143b40066413389007ef87796d2cce4.zip
cgeo-90ad351a2143b40066413389007ef87796d2cce4.tar.gz
cgeo-90ad351a2143b40066413389007ef87796d2cce4.tar.bz2
refactoring: more Findbugs cleanups
* Used Findbugs 2.0 RC1. You are encouraged to also give it a try to find issues in the new version before release.
Diffstat (limited to 'main/src/cgeo/geocaching/activity')
-rw-r--r--main/src/cgeo/geocaching/activity/AbstractListActivity.java5
1 files changed, 0 insertions, 5 deletions
diff --git a/main/src/cgeo/geocaching/activity/AbstractListActivity.java b/main/src/cgeo/geocaching/activity/AbstractListActivity.java
index a1c7596..10e73a5 100644
--- a/main/src/cgeo/geocaching/activity/AbstractListActivity.java
+++ b/main/src/cgeo/geocaching/activity/AbstractListActivity.java
@@ -1,13 +1,10 @@
package cgeo.geocaching.activity;
-import cgeo.geocaching.Settings;
import cgeo.geocaching.cgBase;
import cgeo.geocaching.cgCache;
import cgeo.geocaching.cgeoapplication;
import android.app.ListActivity;
-import android.content.Context;
-import android.content.SharedPreferences;
import android.content.res.Resources;
import android.graphics.drawable.Drawable;
import android.os.Bundle;
@@ -21,7 +18,6 @@ public abstract class AbstractListActivity extends ListActivity implements
protected cgeoapplication app = null;
protected Resources res = null;
- protected SharedPreferences prefs = null;
protected AbstractListActivity() {
this(null);
@@ -70,7 +66,6 @@ public abstract class AbstractListActivity extends ListActivity implements
// init
res = this.getResources();
app = (cgeoapplication) this.getApplication();
- prefs = getSharedPreferences(Settings.preferences, Context.MODE_PRIVATE);
cgBase.initialize(app);
}