Ignore:
Timestamp:
2014-06-14T14:05:38+02:00 (11 years ago)
Author:
bastik
Message:

update to [josm7248]

File:
1 edited

Legend:

Unmodified
Added
Removed
  • applications/editors/josm/plugins/mirrored_download/src/mirrored_download/UrlSelectionDialog.java

    r30436 r30495  
    2525
    2626import org.openstreetmap.josm.Main;
    27 import org.openstreetmap.josm.io.MirroredInputStream;
     27import org.openstreetmap.josm.io.CachedFile;
    2828
    2929public class UrlSelectionDialog
     
    106106    Collection<String> urls = new ArrayList<String>();
    107107    try (
    108       InputStream in = new MirroredInputStream(src, 24*60*60);
     108      InputStream in = new CachedFile(src).setMaxAge(24*60*60).getInputStream();
    109109      BufferedReader reader = new BufferedReader(new InputStreamReader(in))
    110110    ) {
Note: See TracChangeset for help on using the changeset viewer.