Ignore:
Timestamp:
2008-01-03T00:58:16+01:00 (12 years ago)
Author:
gebner
Message:

Fix compile.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/org/openstreetmap/josm/plugins/PluginDownloader.java

    r319 r507  
    140140        }
    141141
    142         private static boolean download(String url, File file) {
     142        private static boolean download(URL url, File file) {
    143143                try {
    144                         InputStream in = new URL(url).openStream();
     144                        InputStream in = url.openStream();
    145145                        OutputStream out = new FileOutputStream(file);
    146146                        byte[] buffer = new byte[8192];
Note: See TracChangeset for help on using the changeset viewer.