Ignore:
Timestamp:
2016-02-04T00:48:38+01:00 (9 years ago)
Author:
Don-vip
Message:

remote control: add more unit tests, robustness

File:
1 edited

Legend:

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

    r8444 r9732  
    9898    @Override
    9999    protected void validateRequest() throws RequestHandlerBadRequestException {
    100         String urlString = args.get("url");
     100        String urlString = args != null ? args.get("url") : null;
    101101        if (Main.pref.getBoolean("remotecontrol.importhandler.fix_url_query", true)) {
    102102            urlString = Utils.fixURLQuery(urlString);
Note: See TracChangeset for help on using the changeset viewer.