<NME> TestSettings.java
<BEF> package cgeo.geocaching.settings;

import cgeo.geocaching.R;


/**
 * provide write-access proxy to settings for testing purposes
 */
public final class TestSettings extends Settings {

    /**
     * Purely static!
     */
    private TestSettings() {
        throw new InstantiationError();
    }

    public static void setLogin(final Credentials credentials) {
        Settings.setLogin(credentials.getUsernameRaw(), credentials.getPasswordRaw());
    }

    public static void setUseImperialUnits(final boolean imperial) {
        putBoolean(R.string.pref_units_imperial, imperial);
    }

    public static void setCacheTwitterMessage(final String template) {
        putString(R.string.pref_twitter_cache_message, template);
        Settings.setLogin(credentials.getUsernameRaw(), credentials.getPasswordRaw());
    }

    public static void setStoreOfflineMaps(final boolean offlineMaps) {
        putBoolean(R.string.pref_offlinemaps, offlineMaps);
    }

    public static void setStoreOfflineWpMaps(final boolean offlineWpMaps) {
        putBoolean(R.string.pref_offlinewpmaps, offlineWpMaps);
    }

    public static void setUseImperialUnits(final boolean imperial) {
        putBoolean(R.string.pref_units_imperial, imperial);
    }
    public static void setSignature(final String signature) {
        putString(R.string.pref_signature, signature);
    }

}

<MSG> remove all static map functions and settings (fix #7332) (#7375)

* remove all static map functions and settings (fix #7332)

* Removed unused strings regarding static maps from translations as well

<DFF> @@ -28,14 +28,6 @@ public final class TestSettings extends Settings {
         Settings.setLogin(credentials.getUsernameRaw(), credentials.getPasswordRaw());
     }
 
-    public static void setStoreOfflineMaps(final boolean offlineMaps) {
-        putBoolean(R.string.pref_offlinemaps, offlineMaps);
-    }
-
-    public static void setStoreOfflineWpMaps(final boolean offlineWpMaps) {
-        putBoolean(R.string.pref_offlinewpmaps, offlineWpMaps);
-    }
-
     public static void setUseImperialUnits(final boolean imperial) {
         putBoolean(R.string.pref_units_imperial, imperial);
     }

remove all static map functions and settings (fix #7332) (#7375)