Ignore:
Timestamp:
2020-03-15T23:10:26+01:00 (5 years ago)
Author:
simon04
Message:

RequestProcessor: use StandardCharsets.US_ASCII

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/org/openstreetmap/josm/io/remotecontrol/RequestProcessor.java

    r15721 r16147  
    168168        try { // NOPMD
    169169            out = new OutputStreamWriter(new BufferedOutputStream(request.getOutputStream()), RESPONSE_CHARSET);
    170             BufferedReader in = new BufferedReader(new InputStreamReader(request.getInputStream(), "ASCII")); // NOPMD
     170            BufferedReader in = new BufferedReader(new InputStreamReader(request.getInputStream(), StandardCharsets.US_ASCII)); // NOPMD
    171171
    172172            String get = in.readLine();
Note: See TracChangeset for help on using the changeset viewer.