Changeset 9639 in josm for trunk/src/org/openstreetmap/josm/tools/RightAndLefthandTraffic.java
- Timestamp:
- 2016-01-26T19:21:58+01:00 (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/tools/RightAndLefthandTraffic.java
r9070 r9639 72 72 private static void initialize() { 73 73 leftHandTrafficPolygons = new ArrayList<>(); 74 try (InputStream is = new CachedFile("resource://data/left-right-hand-traffic.osm").getInputStream()) { 74 try (CachedFile cf = new CachedFile("resource://data/left-right-hand-traffic.osm"); 75 InputStream is = cf.getInputStream()) { 75 76 DataSet data = OsmReader.parseDataSet(is, null); 76 77 for (Way w : data.getWays()) {
Note:
See TracChangeset
for help on using the changeset viewer.