Changeset 11098 in josm
- Timestamp:
- 2016-10-08T02:47:44+02:00 (8 years ago)
- Location:
- trunk/src/org/openstreetmap/josm
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/data/Preferences.java
r11058 r11098 1477 1477 try ( 1478 1478 StringWriter sw = new StringWriter(); 1479 PreferencesWriter prefWriter = new PreferencesWriter(new PrintWriter(sw), nopass, defaults) ;1479 PreferencesWriter prefWriter = new PreferencesWriter(new PrintWriter(sw), nopass, defaults) 1480 1480 ) { 1481 1481 prefWriter.write(settings); -
trunk/src/org/openstreetmap/josm/io/OsmExporter.java
r10632 r11098 129 129 OutputStream out = getOutputStream(file); 130 130 Writer writer = new OutputStreamWriter(out, StandardCharsets.UTF_8); 131 OsmWriter w = OsmWriterFactory.createOsmWriter(new PrintWriter(writer), false, layer.data.getVersion()) ;131 OsmWriter w = OsmWriterFactory.createOsmWriter(new PrintWriter(writer), false, layer.data.getVersion()) 132 132 ) { 133 133 layer.data.getReadLock().lock();
Note:
See TracChangeset
for help on using the changeset viewer.