aboutsummaryrefslogtreecommitdiffstats
path: root/main/src/cgeo/geocaching/cgSettings.java
diff options
context:
space:
mode:
authormucek4 <tomaz@gorenc.org>2011-09-19 23:07:44 -0700
committermucek4 <tomaz@gorenc.org>2011-09-19 23:07:44 -0700
commit885adfd995e9d8ce1ca3bcdca03c4ef0e5a882ec (patch)
treee18186c3f2a48708b58abddc8894a63c9735bb6f /main/src/cgeo/geocaching/cgSettings.java
parent617d43896cc074a8233e6fdb7f96568afd4f331a (diff)
parenta2f2c5db407dd27d9c24cccb42dd45450f8c20af (diff)
downloadcgeo-885adfd995e9d8ce1ca3bcdca03c4ef0e5a882ec.zip
cgeo-885adfd995e9d8ce1ca3bcdca03c4ef0e5a882ec.tar.gz
cgeo-885adfd995e9d8ce1ca3bcdca03c4ef0e5a882ec.tar.bz2
Merge pull request #513 from rsudev/maps_refactor_names2
Renamed map classes to uppercase
Diffstat (limited to 'main/src/cgeo/geocaching/cgSettings.java')
-rw-r--r--main/src/cgeo/geocaching/cgSettings.java8
1 files changed, 4 insertions, 4 deletions
diff --git a/main/src/cgeo/geocaching/cgSettings.java b/main/src/cgeo/geocaching/cgSettings.java
index 8c7c456..6446c58 100644
--- a/main/src/cgeo/geocaching/cgSettings.java
+++ b/main/src/cgeo/geocaching/cgSettings.java
@@ -1,8 +1,8 @@
package cgeo.geocaching;
-import cgeo.geocaching.maps.google.googleMapFactory;
+import cgeo.geocaching.maps.google.GoogleMapFactory;
import cgeo.geocaching.maps.interfaces.MapFactory;
-import cgeo.geocaching.maps.mapsforge.mfMapFactory;
+import cgeo.geocaching.maps.mapsforge.MapsforgeMapFactory;
import org.apache.commons.lang3.StringUtils;
import org.mapsforge.android.maps.MapDatabase;
@@ -495,12 +495,12 @@ public class cgSettings {
public MapFactory getMapFactory() {
if (mapSource.isGoogleMapSource()) {
if (!mapSourceUsed.isGoogleMapSource() || mapFactory == null) {
- mapFactory = new googleMapFactory();
+ mapFactory = new GoogleMapFactory();
mapSourceUsed = mapSource;
}
} else if (!mapSource.isGoogleMapSource()) {
if (mapSourceUsed.isGoogleMapSource() || mapFactory == null) {
- mapFactory = new mfMapFactory();
+ mapFactory = new MapsforgeMapFactory();
mapSourceUsed = mapSource;
}
}