Ignore:
Timestamp:
2024-06-20T16:40:27+02:00 (4 months ago)
Author:
taylor.smock
Message:

See #17858: Replace most calls to StandardCharsets.UTF_8.name() with StandardCharsets.UTF_8

This (in many cases) also removes catches for UnsupportedEncodingException.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/test/unit/org/openstreetmap/josm/gui/MainApplicationTest.java

    r18893 r19121  
    130130            t.join();
    131131            System.out.flush();
    132             assertEquals(expected, baos.toString(StandardCharsets.UTF_8.name()).trim());
     132            assertEquals(expected, baos.toString(StandardCharsets.UTF_8).trim());
    133133        } finally {
    134134            System.setOut(old);
Note: See TracChangeset for help on using the changeset viewer.