Ignore:
Timestamp:
2016-03-13T21:36:47+01:00 (9 years ago)
Author:
Don-vip
Message:

remove unused code

Location:
trunk/src/org/openstreetmap/josm/data
Files:
6 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/org/openstreetmap/josm/data/CustomConfigurator.java

    r9759 r9983  
    326326            deleteFileOrDirectory(fOut);
    327327        }
    328     }
    329 
    330     public static void deleteFileOrDirectory(String path) {
    331         deleteFileOrDirectory(new File(path));
    332328    }
    333329
  • trunk/src/org/openstreetmap/josm/data/cache/ICachedLoaderJob.java

    r8795 r9983  
    1111 * @param <K> cache key type
    1212 */
    13 public interface ICachedLoaderJob<K> {
     13public interface ICachedLoaderJob<K> extends Runnable {
    1414    /**
    1515     * returns cache entry key
     
    2626     */
    2727    URL getUrl() throws IOException;
    28 
    29     /**
    30      * implements the main algorithm for fetching
    31      */
    32     void run();
    3328
    3429    /**
  • trunk/src/org/openstreetmap/josm/data/cache/JCSCachedTileLoaderJob.java

    r9709 r9983  
    4545 * @since 8168
    4646 */
    47 public abstract class JCSCachedTileLoaderJob<K, V extends CacheEntry> implements ICachedLoaderJob<K>, Runnable {
     47public abstract class JCSCachedTileLoaderJob<K, V extends CacheEntry> implements ICachedLoaderJob<K> {
    4848    private static final Logger log = FeatureAdapter.getLogger(JCSCachedTileLoaderJob.class.getCanonicalName());
    4949    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  
    9393
    9494    /**
    95      * Converts to single point BBox.
    96      *
    97      * @return single point BBox defined by this coordinate.
    98      * @since 6203
    99      */
    100     public BBox toBBox() {
    101         return new BBox(x, y);
    102     }
    103 
    104     /**
    10595     * Creates bbox around this coordinate. Coordinate defines
    10696     * center of bbox, its edge will be 2*r.
  • trunk/src/org/openstreetmap/josm/data/coor/LatLon.java

    r9950 r9983  
    4848    public static final double MAX_SERVER_PRECISION = 1e-7;
    4949    public static final double MAX_SERVER_INV_PRECISION = 1e7;
    50     public static final int    MAX_SERVER_DIGITS = 7;
    5150
    5251    /**
  • trunk/src/org/openstreetmap/josm/data/validation/routines/UrlValidator.java

    r9921 r9983  
    540540        return (options & flag) == 0;
    541541    }
    542 
    543     // Unit test access to pattern matcher
    544     Matcher matchURL(String value) {
    545         return URL_PATTERN.matcher(value);
    546     }
    547542}
Note: See TracChangeset for help on using the changeset viewer.