Index: trunk/src/org/openstreetmap/josm/data/cache/JCSCachedTileLoaderJob.java
===================================================================
--- trunk/src/org/openstreetmap/josm/data/cache/JCSCachedTileLoaderJob.java	(revision 9708)
+++ trunk/src/org/openstreetmap/josm/data/cache/JCSCachedTileLoaderJob.java	(revision 9709)
@@ -69,7 +69,7 @@
      */
 
-    private static ThreadPoolExecutor DEFAULT_DOWNLOAD_JOB_DISPATCHER = new ThreadPoolExecutor(
+    private static final ThreadPoolExecutor DEFAULT_DOWNLOAD_JOB_DISPATCHER = new ThreadPoolExecutor(
             2, // we have a small queue, so threads will be quickly started (threads are started only, when queue is full)
-            THREAD_LIMIT.get().intValue(), // do not this number of threads
+            THREAD_LIMIT.get(), // do not this number of threads
             30, // keepalive for thread
             TimeUnit.SECONDS,
@@ -81,10 +81,10 @@
 
 
-    private static ConcurrentMap<String, Set<ICachedLoaderListener>> inProgress = new ConcurrentHashMap<>();
-    private static ConcurrentMap<String, Boolean> useHead = new ConcurrentHashMap<>();
-
-    protected long now; // when the job started
-
-    private ICacheAccess<K, V> cache;
+    private static final ConcurrentMap<String, Set<ICachedLoaderListener>> inProgress = new ConcurrentHashMap<>();
+    private static final ConcurrentMap<String, Boolean> useHead = new ConcurrentHashMap<>();
+
+    protected final long now; // when the job started
+
+    private final ICacheAccess<K, V> cache;
     private ICacheElement<K, V> cacheElement;
     protected V cacheData;
@@ -92,8 +92,8 @@
 
     // HTTP connection parameters
-    private int connectTimeout;
-    private int readTimeout;
-    private Map<String, String> headers;
-    private ThreadPoolExecutor downloadJobExecutor;
+    private final int connectTimeout;
+    private final int readTimeout;
+    private final Map<String, String> headers;
+    private final ThreadPoolExecutor downloadJobExecutor;
     private Runnable finishTask;
     private boolean force;
