Changeset 7082 in josm for trunk/test/unit/org/openstreetmap/josm/tools
- Timestamp:
- 2014-05-09T05:32:37+02:00 (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/test/unit/org/openstreetmap/josm/tools/BugReportExceptionHandlerTest.java
r7081 r7082 7 7 import java.io.ByteArrayInputStream; 8 8 import java.io.IOException; 9 import java.nio.charset.StandardCharsets; 9 10 import java.util.zip.GZIPInputStream; 10 11 … … 49 50 StringBuilder sb = new StringBuilder(); 50 51 for (int n = is.read(buff); n > 0; n = is.read(buff)) { 51 sb.append(new String(buff, 0, n, Utils.UTF_8));52 sb.append(new String(buff, 0, n, StandardCharsets.UTF_8)); 52 53 } 53 54 assertEquals(report, sb.toString());
Note:
See TracChangeset
for help on using the changeset viewer.