Index: trunk/src/org/openstreetmap/josm/gui/layer/TMSLayer.java
===================================================================
--- trunk/src/org/openstreetmap/josm/gui/layer/TMSLayer.java	(revision 7910)
+++ trunk/src/org/openstreetmap/josm/gui/layer/TMSLayer.java	(revision 7911)
@@ -112,18 +112,12 @@
     public static final StringProperty PROP_TILECACHE_DIR;
 
-    private static final boolean newcache = Main.pref.getBoolean("tms.newcache");
-
     static {
         String defPath = null;
         try {
-            if (newcache) {
-                defPath = new File(Main.pref.getCacheDirectory(), "tms").getAbsolutePath();
-            } else {
-                defPath = OsmFileCacheTileLoader.getDefaultCacheDir().getAbsolutePath();
-            }
+            defPath = new File(Main.pref.getCacheDirectory(), "tms").getAbsolutePath();
         } catch (SecurityException e) {
             Main.warn(e);
         }
-        PROP_TILECACHE_DIR = new StringProperty(PREFERENCE_PREFIX + (newcache ? ".tilecache" : ".tilecache_path"), defPath);
+        PROP_TILECACHE_DIR = new StringProperty(PREFERENCE_PREFIX + ".tilecache", defPath);
     }
 
@@ -143,9 +137,5 @@
                 try {
                     OsmFileCacheTileLoader loader;
-                    if (newcache) {
-                        loader = new TMSFileCacheTileLoader(listener, new File(cachePath));
-                    } else {
-                        loader = new OsmFileCacheTileLoader(listener, new File(cachePath));
-                    }
+                    loader = new TMSFileCacheTileLoader(listener, new File(cachePath));
                     loader.headers.put("User-Agent", Version.getInstance().getFullAgentString());
                     return loader;
