Changeset 7082 in josm for trunk/test/unit/org/openstreetmap/josm/io/remotecontrol
- Timestamp:
- 2014-05-09T05:32:37+02:00 (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/test/unit/org/openstreetmap/josm/io/remotecontrol/RemoteControlTest.java
r7081 r7082 12 12 import java.net.MalformedURLException; 13 13 import java.net.URL; 14 import java.nio.charset.StandardCharsets; 14 15 import java.security.GeneralSecurityException; 15 16 import java.security.SecureRandom; … … 28 29 import org.openstreetmap.josm.JOSMFixture; 29 30 import org.openstreetmap.josm.Main; 30 import org.openstreetmap.josm.tools.Utils;31 31 32 32 /** … … 125 125 // TODO this code should be refactored somewhere in Utils as it is used in several JOSM classes 126 126 StringBuilder responseBody = new StringBuilder(); 127 try (BufferedReader in = new BufferedReader(new InputStreamReader(is, Utils.UTF_8))) {127 try (BufferedReader in = new BufferedReader(new InputStreamReader(is, StandardCharsets.UTF_8))) { 128 128 String s; 129 129 while((s = in.readLine()) != null) {
Note:
See TracChangeset
for help on using the changeset viewer.