Ignore:
Timestamp:
2018-06-22T22:40:09+02:00 (7 years ago)
Author:
donvip
Message:

see #josm14120 - fix deprecation warnings

File:
1 edited

Legend:

Unmodified
Added
Removed
  • TabularUnified applications/editors/josm/plugins/imagery_offset_db/src/iodb/SimpleOffsetQueryTask.java

    r32528 r34337  
    99import java.net.MalformedURLException;
    1010import java.net.URL;
     11import java.nio.charset.StandardCharsets;
    1112import java.util.Scanner;
    1213import java.util.regex.Matcher;
     
    139140        String response = "";
    140141        if (inp != null) {
    141             Scanner sc = new Scanner(inp).useDelimiter("\\A");
     142            Scanner sc = new Scanner(inp, StandardCharsets.UTF_8.name()).useDelimiter("\\A");
    142143            response = sc.hasNext() ? sc.next() : "";
    143144        }
Note: See TracChangeset for help on using the changeset viewer.