Changeset 30701 in osm for applications/editors/josm/plugins/opendata/modules/fr.lemans/src
- Timestamp:
- 2014-10-04T17:28:45+02:00 (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
applications/editors/josm/plugins/opendata/modules/fr.lemans/src/org/openstreetmap/josm/plugins/opendata/modules/fr/lemans/datasets/LeMansDataSetHandler.java
r30340 r30701 75 75 @Override 76 76 public List<Pair<String, URL>> getDataURLs() { 77 List<Pair<String, URL>> result = new ArrayList< Pair<String,URL>>();77 List<Pair<String, URL>> result = new ArrayList<>(); 78 78 try { 79 if (kmzUuid != null && !kmzUuid.isEmpty()) result.add(new Pair< String, URL>(getName() + " (KMZ)", new URL(PORTAL + "download.do?uuid=" + kmzUuid)));80 if (shpUuid != null && !shpUuid.isEmpty()) result.add(new Pair< String, URL>(getName() + " (SHP)", new URL(PORTAL + "download.do?uuid=" + shpUuid)));79 if (kmzUuid != null && !kmzUuid.isEmpty()) result.add(new Pair<>(getName() + " (KMZ)", new URL(PORTAL + "download.do?uuid=" + kmzUuid))); 80 if (shpUuid != null && !shpUuid.isEmpty()) result.add(new Pair<>(getName() + " (SHP)", new URL(PORTAL + "download.do?uuid=" + shpUuid))); 81 81 } catch (MalformedURLException e) { 82 82 e.printStackTrace();
Note:
See TracChangeset
for help on using the changeset viewer.