Ignore:
Timestamp:
2014-05-09T05:32:37+02:00 (11 years ago)
Author:
Don-vip
Message:

see #8465 - replace Utils.UTF_8 by StandardCharsets.UTF_8, new in Java 7

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/org/openstreetmap/josm/gui/oauth/OsmOAuthAuthorizationClient.java

    r7037 r7082  
    1515import java.net.URL;
    1616import java.net.URLEncoder;
     17import java.nio.charset.StandardCharsets;
    1718import java.util.HashMap;
    1819import java.util.Iterator;
     
    200201        try (
    201202            InputStream is = connection.getInputStream();
    202             BufferedReader r = new BufferedReader(new InputStreamReader(is, Utils.UTF_8))
     203            BufferedReader r = new BufferedReader(new InputStreamReader(is, StandardCharsets.UTF_8))
    203204        ) {
    204205            String c;
Note: See TracChangeset for help on using the changeset viewer.