Ignore:
Timestamp:
2019-01-27T22:26:35+01:00 (5 years ago)
Author:
simon04
Message:

Refactoring: use StandardCharsets

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/org/openstreetmap/josm/data/imagery/CachedAttributionBingAerialTileSource.java

    r12620 r14746  
    66import java.net.MalformedURLException;
    77import java.net.URL;
     8import java.nio.charset.StandardCharsets;
    89import java.util.List;
    910import java.util.concurrent.Callable;
     
    5859            final String r = HttpClient.create(u).connect().fetchContent();
    5960            Logging.info("Successfully loaded Bing attribution data.");
    60             return r.getBytes("UTF-8");
     61            return r.getBytes(StandardCharsets.UTF_8);
    6162        }
    6263
Note: See TracChangeset for help on using the changeset viewer.