Changeset 8286 in josm for trunk/src/org/openstreetmap
- Timestamp:
- 2015-04-28T00:59:25+02:00 (10 years ago)
- Location:
- trunk/src/org/openstreetmap/josm
- Files:
-
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/data/cache/JCSCachedTileLoaderJob.java
r8176 r8286 57 57 * maximum download threads that will be started 58 58 */ 59 public static IntegerProperty THREAD_LIMIT = new IntegerProperty("cache.jcs.max_threads", 10); 59 public static final IntegerProperty THREAD_LIMIT = new IntegerProperty("cache.jcs.max_threads", 10); 60 60 private static Executor DOWNLOAD_JOB_DISPATCHER = new ThreadPoolExecutor( 61 61 2, // we have a small queue, so threads will be quickly started (threads are started only, when queue is full) -
trunk/src/org/openstreetmap/josm/data/imagery/TMSCachedTileLoader.java
r8186 r8286 32 32 public static final String PREFERENCE_PREFIX = "imagery.tms.cache."; 33 33 // average tile size is about 20kb 34 public static IntegerProperty MAX_OBJECTS_ON_DISK = new IntegerProperty(PREFERENCE_PREFIX + "max_objects_disk", 25000); // 25000 is around 500MB under this assumptions 34 public static final IntegerProperty MAX_OBJECTS_ON_DISK = new IntegerProperty(PREFERENCE_PREFIX + "max_objects_disk", 25000); // 25000 is around 500MB under this assumptions 35 35 36 36 -
trunk/src/org/openstreetmap/josm/data/imagery/TMSCachedTileLoaderJob.java
r8176 r8286 41 41 * overrides the THREAD_LIMIT in superclass, as we want to have separate limit and pool for TMS 42 42 */ 43 public static IntegerProperty THREAD_LIMIT = new IntegerProperty("imagery.tms.tmsloader.maxjobs", 25); 43 public static final IntegerProperty THREAD_LIMIT = new IntegerProperty("imagery.tms.tmsloader.maxjobs", 25); 44 44 /** 45 45 * separate from JCS thread pool for TMS loader, so we can have different thread pools for default JCS -
trunk/src/org/openstreetmap/josm/gui/ImageryMenu.java
r7966 r8286 15 15 import java.util.Iterator; 16 16 import java.util.List; 17 17 18 import javax.swing.Action; 18 19 import javax.swing.JComponent; … … 22 23 import javax.swing.event.MenuEvent; 23 24 import javax.swing.event.MenuListener; 25 24 26 import org.openstreetmap.josm.Main; 25 27 import org.openstreetmap.josm.actions.AddImageryLayerAction; … … 49 51 * (for the preferences). We don't want this in the imagery menu. 50 52 */ 51 public static Comparator<ImageryInfo> alphabeticImageryComparator = new Comparator<ImageryInfo>() { 53 public static final Comparator<ImageryInfo> alphabeticImageryComparator = new Comparator<ImageryInfo>() { 52 54 @Override 53 55 public int compare(ImageryInfo ii1, ImageryInfo ii2) { -
trunk/src/org/openstreetmap/josm/tools/ImageProvider.java
r8285 r8286 145 145 * @since 7132 146 146 */ 147 public static String PROP_TRANSPARENCY_FORCED = "josm.transparency.forced"; 147 public static final String PROP_TRANSPARENCY_FORCED = "josm.transparency.forced"; 148 148 149 149 /** … … 151 151 * @since 7132 152 152 */ 153 public static String PROP_TRANSPARENCY_COLOR = "josm.transparency.color"; 153 public static final String PROP_TRANSPARENCY_COLOR = "josm.transparency.color"; 154 154 155 155 /** directories in which images are searched */
Note:
See TracChangeset
for help on using the changeset viewer.