Changeset 11042 in josm for trunk/src/org/openstreetmap/josm/gui/mappaint
- Timestamp:
- 2016-09-22T23:08:23+02:00 (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/gui/mappaint/MapPaintStyles.java
r10927 r11042 6 6 import java.io.File; 7 7 import java.io.IOException; 8 import java.io.InputStreamReader; 9 import java.nio.charset.StandardCharsets; 8 import java.io.Reader; 10 9 import java.util.ArrayList; 11 10 import java.util.Arrays; … … 314 313 if (Utils.hasExtension(entry.url, "mapcss")) 315 314 return new MapCSSStyleSource(entry); 316 try ( InputStreamReader reader =new InputStreamReader(cf.getInputStream(), StandardCharsets.UTF_8)) {315 try (Reader reader = cf.getContentReader()) { 317 316 WHILE: while (true) { 318 317 int c = reader.read();
Note:
See TracChangeset
for help on using the changeset viewer.