Changeset 9983 in josm for trunk/src/org/openstreetmap/josm/data
- Timestamp:
- 2016-03-13T21:36:47+01:00 (9 years ago)
- Location:
- trunk/src/org/openstreetmap/josm/data
- Files:
-
- 6 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/data/CustomConfigurator.java
r9759 r9983 326 326 deleteFileOrDirectory(fOut); 327 327 } 328 }329 330 public static void deleteFileOrDirectory(String path) {331 deleteFileOrDirectory(new File(path));332 328 } 333 329 -
trunk/src/org/openstreetmap/josm/data/cache/ICachedLoaderJob.java
r8795 r9983 11 11 * @param <K> cache key type 12 12 */ 13 public interface ICachedLoaderJob<K> {13 public interface ICachedLoaderJob<K> extends Runnable { 14 14 /** 15 15 * returns cache entry key … … 26 26 */ 27 27 URL getUrl() throws IOException; 28 29 /**30 * implements the main algorithm for fetching31 */32 void run();33 28 34 29 /** -
trunk/src/org/openstreetmap/josm/data/cache/JCSCachedTileLoaderJob.java
r9709 r9983 45 45 * @since 8168 46 46 */ 47 public abstract class JCSCachedTileLoaderJob<K, V extends CacheEntry> implements ICachedLoaderJob<K> , Runnable{47 public abstract class JCSCachedTileLoaderJob<K, V extends CacheEntry> implements ICachedLoaderJob<K> { 48 48 private static final Logger log = FeatureAdapter.getLogger(JCSCachedTileLoaderJob.class.getCanonicalName()); 49 49 protected static final long DEFAULT_EXPIRE_TIME = 1000L * 60 * 60 * 24 * 7; // 7 days -
trunk/src/org/openstreetmap/josm/data/coor/Coordinate.java
r9375 r9983 93 93 94 94 /** 95 * Converts to single point BBox.96 *97 * @return single point BBox defined by this coordinate.98 * @since 620399 */100 public BBox toBBox() {101 return new BBox(x, y);102 }103 104 /**105 95 * Creates bbox around this coordinate. Coordinate defines 106 96 * center of bbox, its edge will be 2*r. -
trunk/src/org/openstreetmap/josm/data/coor/LatLon.java
r9950 r9983 48 48 public static final double MAX_SERVER_PRECISION = 1e-7; 49 49 public static final double MAX_SERVER_INV_PRECISION = 1e7; 50 public static final int MAX_SERVER_DIGITS = 7;51 50 52 51 /** -
trunk/src/org/openstreetmap/josm/data/validation/routines/UrlValidator.java
r9921 r9983 540 540 return (options & flag) == 0; 541 541 } 542 543 // Unit test access to pattern matcher544 Matcher matchURL(String value) {545 return URL_PATTERN.matcher(value);546 }547 542 }
Note:
See TracChangeset
for help on using the changeset viewer.