diff options
author | Bananeweizen <bananeweizen@gmx.de> | 2012-01-08 10:51:10 +0100 |
---|---|---|
committer | Bananeweizen <bananeweizen@gmx.de> | 2012-01-08 10:51:10 +0100 |
commit | cdd9939761c09dc0b00c825cfbab80aa198348f2 (patch) | |
tree | c5edecedd56901860a274739e2a90418284fced2 /main/src/cgeo/geocaching/apps/cache/GccApp.java | |
parent | e9ddb7e7abd1406e77637c15831aa4f8b52ce772 (diff) | |
download | cgeo-cdd9939761c09dc0b00c825cfbab80aa198348f2.zip cgeo-cdd9939761c09dc0b00c825cfbab80aa198348f2.tar.gz cgeo-cdd9939761c09dc0b00c825cfbab80aa198348f2.tar.bz2 |
refactoring: cleanup for #945
* remove duplicated code
* remove all access to resources via method parameters
Diffstat (limited to 'main/src/cgeo/geocaching/apps/cache/GccApp.java')
-rw-r--r-- | main/src/cgeo/geocaching/apps/cache/GccApp.java | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/main/src/cgeo/geocaching/apps/cache/GccApp.java b/main/src/cgeo/geocaching/apps/cache/GccApp.java index e05ba20..9000d9e 100644 --- a/main/src/cgeo/geocaching/apps/cache/GccApp.java +++ b/main/src/cgeo/geocaching/apps/cache/GccApp.java @@ -2,10 +2,8 @@ package cgeo.geocaching.apps.cache; import cgeo.geocaching.R; -import android.content.res.Resources; - class GccApp extends AbstractGeneralApp { - GccApp(final Resources res) { - super(res.getString(R.string.cache_menu_gcc), "eisbehr.gcc"); + GccApp() { + super(getString(R.string.cache_menu_gcc), "eisbehr.gcc"); } } |