Changeset 14746 in josm for trunk/src/org/openstreetmap/josm/data/imagery
- Timestamp:
- 2019-01-27T22:26:35+01:00 (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/data/imagery/CachedAttributionBingAerialTileSource.java
r12620 r14746 6 6 import java.net.MalformedURLException; 7 7 import java.net.URL; 8 import java.nio.charset.StandardCharsets; 8 9 import java.util.List; 9 10 import java.util.concurrent.Callable; … … 58 59 final String r = HttpClient.create(u).connect().fetchContent(); 59 60 Logging.info("Successfully loaded Bing attribution data."); 60 return r.getBytes( "UTF-8");61 return r.getBytes(StandardCharsets.UTF_8); 61 62 } 62 63
Note:
See TracChangeset
for help on using the changeset viewer.